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

Unified Diff: content/browser/content_browser_client.h

Issue 7373004: Move the save file code from chrome to content. This is just a file move so the DEPS in content\b... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/content_browser_client.h
===================================================================
--- content/browser/content_browser_client.h (revision 92558)
+++ content/browser/content_browser_client.h (working copy)
@@ -25,6 +25,7 @@
class ResourceDispatcherHost;
class SSLCertErrorHandler;
class SSLClientAuthHandler;
+class SavePackage;
class SkBitmap;
class TabContents;
class WorkerProcessHost;
@@ -254,6 +255,13 @@
// Clears browser cookies.
virtual void ClearCookies(RenderViewHost* rvh) = 0;
+ // Asks the user for the path to save a page. The embedder calls
+ // SavePackage::OnPathPicked to give the answer.
+ virtual void ChooseSavePath(SavePackage* save_package,
+ const FilePath& suggested_path,
+ bool can_save_as_complete) = 0;
+
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Can return an optional fd for crash handling, otherwise returns -1.
virtual int GetCrashSignalFD(const std::string& process_type) = 0;

Powered by Google App Engine
This is Rietveld 408576698