Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(847)

Side by Side Diff: content/public/browser/devtools_frontend_host_delegate.h

Issue 11570081: Support file system access in DevTools with isolated file system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added fs name / root url generation in browser process as recommended by kinuko@ and addressed tsep… Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace content { 10 namespace content {
(...skipping 24 matching lines...) Expand all
35 // Save As dialog. 35 // Save As dialog.
36 virtual void SaveToFile(const std::string& url, 36 virtual void SaveToFile(const std::string& url,
37 const std::string& content, 37 const std::string& content,
38 bool save_as) = 0; 38 bool save_as) = 0;
39 39
40 // Appends given |content| to the file that has been associated with the 40 // Appends given |content| to the file that has been associated with the
41 // given |url| by SaveToFile method. 41 // given |url| by SaveToFile method.
42 virtual void AppendToFile(const std::string& url, 42 virtual void AppendToFile(const std::string& url,
43 const std::string& content) = 0; 43 const std::string& content) = 0;
44 44
45 // Requests the list of filesystems previously added for devtools.
46 virtual void RequestFileSystems() = 0;
47
48 // Shows a dialog to select a folder to which an isolated filesystem is added.
49 virtual void AddFileSystem() = 0;
50
51 // Removes a previously added devtools filesystem given by |file_system_path|.
52 virtual void RemoveFileSystem(const std::string& file_system_path) = 0;
53
45 // This method is called when the contents inspected by this devtools frontend 54 // This method is called when the contents inspected by this devtools frontend
46 // is closing. 55 // is closing.
47 virtual void InspectedContentsClosing() = 0; 56 virtual void InspectedContentsClosing() = 0;
48 }; 57 };
49 58
50 } // namespace content 59 } // namespace content
51 60
52 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ 61 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698