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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 47 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
48 chrome_protocol_handler, 48 chrome_protocol_handler,
49 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 49 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
50 chrome_devtools_protocol_handler) { 50 chrome_devtools_protocol_handler) {
51 return NULL; 51 return NULL;
52 } 52 }
53 53
54 net::URLRequestContextGetter* 54 net::URLRequestContextGetter*
55 ContentBrowserClient::CreateRequestContextForStoragePartition( 55 ContentBrowserClient::CreateRequestContextForStoragePartition(
56 BrowserContext* browser_context, 56 BrowserContext* browser_context,
57 const FilePath& partition_path, 57 const base::FilePath& partition_path,
58 bool in_memory, 58 bool in_memory,
59 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 59 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
60 blob_protocol_handler, 60 blob_protocol_handler,
61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
62 file_system_protocol_handler, 62 file_system_protocol_handler,
63 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 63 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
64 developer_protocol_handler, 64 developer_protocol_handler,
65 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 65 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
66 chrome_protocol_handler, 66 chrome_protocol_handler,
67 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 67 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 } 239 }
240 240
241 AccessTokenStore* ContentBrowserClient::CreateAccessTokenStore() { 241 AccessTokenStore* ContentBrowserClient::CreateAccessTokenStore() {
242 return NULL; 242 return NULL;
243 } 243 }
244 244
245 bool ContentBrowserClient::IsFastShutdownPossible() { 245 bool ContentBrowserClient::IsFastShutdownPossible() {
246 return true; 246 return true;
247 } 247 }
248 248
249 FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { 249 base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() {
250 return FilePath(); 250 return base::FilePath();
251 } 251 }
252 252
253 std::string ContentBrowserClient::GetDefaultDownloadName() { 253 std::string ContentBrowserClient::GetDefaultDownloadName() {
254 return std::string(); 254 return std::string();
255 } 255 }
256 256
257 BrowserPpapiHost* 257 BrowserPpapiHost*
258 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) { 258 ContentBrowserClient::GetExternalBrowserPpapiHost(int plugin_process_id) {
259 return NULL; 259 return NULL;
260 } 260 }
261 261
262 bool ContentBrowserClient::AllowPepperSocketAPI( 262 bool ContentBrowserClient::AllowPepperSocketAPI(
263 BrowserContext* browser_context, 263 BrowserContext* browser_context,
264 const GURL& url, 264 const GURL& url,
265 const SocketPermissionRequest& params) { 265 const SocketPermissionRequest& params) {
266 return false; 266 return false;
267 } 267 }
268 268
269 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { 269 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() {
270 return FilePath(); 270 return base::FilePath();
271 } 271 }
272 272
273 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( 273 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy(
274 WebContents* web_contents) { 274 WebContents* web_contents) {
275 return NULL; 275 return NULL;
276 } 276 }
277 277
278 #if defined(OS_WIN) 278 #if defined(OS_WIN)
279 const wchar_t* ContentBrowserClient::GetResourceDllName() { 279 const wchar_t* ContentBrowserClient::GetResourceDllName() {
280 return NULL; 280 return NULL;
281 } 281 }
282 #endif 282 #endif
283 283
284 #if defined(USE_NSS) 284 #if defined(USE_NSS)
285 crypto::CryptoModuleBlockingPasswordDelegate* 285 crypto::CryptoModuleBlockingPasswordDelegate*
286 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 286 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
287 return NULL; 287 return NULL;
288 } 288 }
289 #endif 289 #endif
290 290
291 } // namespace content 291 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/devtools_http_handler_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698