diff options
author | loislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-02 07:48:42 +0000 |
---|---|---|
committer | loislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-02 07:48:42 +0000 |
commit | e2641d881d24be43d5ddaa4ea72a23fb9cf41df0 (patch) | |
tree | fd4da7ce734a23b4578f7868447cebc6e5ec5b01 /content/public/browser | |
parent | 86bb87e4fdb5bf9e2188b77dbb2fe19bd7c757fe (diff) | |
download | chromium_src-e2641d881d24be43d5ddaa4ea72a23fb9cf41df0.zip chromium_src-e2641d881d24be43d5ddaa4ea72a23fb9cf41df0.tar.gz chromium_src-e2641d881d24be43d5ddaa4ea72a23fb9cf41df0.tar.bz2 |
DevTools: AppendFile implementation.
DevTools wants to save very big files like HeapSnapshots.
It is not possible at the moment because the file can be about ~6Gb.
BUG=none
TEST=FileUtilTest.AppendFile
Review URL: https://chromiumcodereview.appspot.com/10240002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser')
-rw-r--r-- | content/public/browser/devtools_frontend_host_delegate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/public/browser/devtools_frontend_host_delegate.h b/content/public/browser/devtools_frontend_host_delegate.h index 50a95df..66bc3e1 100644 --- a/content/public/browser/devtools_frontend_host_delegate.h +++ b/content/public/browser/devtools_frontend_host_delegate.h @@ -45,6 +45,11 @@ class DevToolsFrontendHostDelegate { const std::string& content, bool save_as) = 0; + // Appends given |content| to the file that has been associated with the + // given |url| by SaveToFile method. + virtual void AppendToFile(const std::string& url, + const std::string& content) = 0; + // This method is called when the contents inspected by this devtools frontend // is closing. virtual void InspectedContentsClosing() = 0; |