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

Side by Side Diff: content/browser/mock_content_browser_client.cc

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 #include "content/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "content/browser/webui/empty_web_ui_factory.h" 9 #include "content/browser/webui/empty_web_ui_factory.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 void MockContentBrowserClient::BrowserURLHandlerCreated( 199 void MockContentBrowserClient::BrowserURLHandlerCreated(
200 BrowserURLHandler* handler) { 200 BrowserURLHandler* handler) {
201 } 201 }
202 202
203 void MockContentBrowserClient::ClearCache(RenderViewHost* rvh) { 203 void MockContentBrowserClient::ClearCache(RenderViewHost* rvh) {
204 } 204 }
205 205
206 void MockContentBrowserClient::ClearCookies(RenderViewHost* rvh) { 206 void MockContentBrowserClient::ClearCookies(RenderViewHost* rvh) {
207 } 207 }
208 208
209 void MockContentBrowserClient::ChooseSavePath(SavePackage* save_package,
210 const FilePath& suggested_path,
211 bool can_save_as_complete) {
212 }
213
209 #if defined(OS_POSIX) && !defined(OS_MACOSX) 214 #if defined(OS_POSIX) && !defined(OS_MACOSX)
210 int MockContentBrowserClient::GetCrashSignalFD( 215 int MockContentBrowserClient::GetCrashSignalFD(
211 const std::string& process_type) { 216 const std::string& process_type) {
212 return -1; 217 return -1;
213 } 218 }
214 #endif 219 #endif
215 220
216 #if defined(USE_NSS) 221 #if defined(USE_NSS)
217 crypto::CryptoModuleBlockingPasswordDelegate* 222 crypto::CryptoModuleBlockingPasswordDelegate*
218 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 223 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
219 return NULL; 224 return NULL;
220 } 225 }
221 #endif 226 #endif
222 227
223 } // namespace content 228 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698