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

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

Issue 15017018: Prevent unauthorized commits of the Chrome Web Store URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment Created 7 years, 7 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/files/file_path.h" 7 #include "base/files/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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const base::FilePath& partition_path, 56 const base::FilePath& partition_path,
57 bool in_memory, 57 bool in_memory,
58 ProtocolHandlerMap* protocol_handlers) { 58 ProtocolHandlerMap* protocol_handlers) {
59 return NULL; 59 return NULL;
60 } 60 }
61 61
62 bool ContentBrowserClient::IsHandledURL(const GURL& url) { 62 bool ContentBrowserClient::IsHandledURL(const GURL& url) {
63 return false; 63 return false;
64 } 64 }
65 65
66 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host,
67 const GURL& site_url) {
68 return true;
69 }
70
66 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, 71 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host,
67 const GURL& site_url) { 72 const GURL& site_url) {
68 return true; 73 return true;
69 } 74 }
70 75
71 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( 76 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost(
72 BrowserContext* browser_context, const GURL& url) { 77 BrowserContext* browser_context, const GURL& url) {
73 return false; 78 return false;
74 } 79 }
75 80
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 #endif 283 #endif
279 284
280 #if defined(USE_NSS) 285 #if defined(USE_NSS)
281 crypto::CryptoModuleBlockingPasswordDelegate* 286 crypto::CryptoModuleBlockingPasswordDelegate*
282 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 287 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
283 return NULL; 288 return NULL;
284 } 289 }
285 #endif 290 #endif
286 291
287 } // namespace content 292 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698