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

Side by Side Diff: content/browser/mock_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/browser/content_browser_client.h" 10 #include "content/browser/content_browser_client.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; 93 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE;
94 virtual ui::Clipboard* GetClipboard() OVERRIDE; 94 virtual ui::Clipboard* GetClipboard() OVERRIDE;
95 virtual bool IsFastShutdownPossible() OVERRIDE; 95 virtual bool IsFastShutdownPossible() OVERRIDE;
96 virtual WebPreferences GetWebkitPrefs(Profile* profile, 96 virtual WebPreferences GetWebkitPrefs(Profile* profile,
97 bool is_web_ui) OVERRIDE; 97 bool is_web_ui) OVERRIDE;
98 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 98 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
99 const std::string& key, 99 const std::string& key,
100 const std::string& value) OVERRIDE; 100 const std::string& value) OVERRIDE;
101 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; 101 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE;
102 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; 102 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE;
103 virtual void ClearCache(RenderViewHost* rvh); 103 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE;
104 virtual void ClearCookies(RenderViewHost* rvh); 104 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE;
105 virtual void ChooseSavePath(SavePackage* save_package,
106 const FilePath& suggested_path,
107 bool can_save_as_complete) OVERRIDE;
105 108
106 #if defined(OS_POSIX) && !defined(OS_MACOSX) 109 #if defined(OS_POSIX) && !defined(OS_MACOSX)
107 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; 110 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE;
108 #endif 111 #endif
109 112
110 #if defined(USE_NSS) 113 #if defined(USE_NSS)
111 virtual 114 virtual
112 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 115 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
113 const GURL& url) OVERRIDE; 116 const GURL& url) OVERRIDE;
114 #endif 117 #endif
115 }; 118 };
116 119
117 } // namespace content 120 } // namespace content
118 121
119 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 122 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698