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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: most unittests pass Created 7 years, 4 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/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 const string16& name, 164 const string16& name,
165 ResourceContext* context, 165 ResourceContext* context,
166 const std::vector<std::pair<int, int> >& render_views) { 166 const std::vector<std::pair<int, int> >& render_views) {
167 return true; 167 return true;
168 } 168 }
169 169
170 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { 170 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() {
171 return NULL; 171 return NULL;
172 } 172 }
173 173
174 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL(
175 const GURL& url, ResourceContext* context) {
176 return NULL;
177 }
178
179 std::string ContentBrowserClient::GetStoragePartitionIdForSite( 174 std::string ContentBrowserClient::GetStoragePartitionIdForSite(
180 BrowserContext* browser_context, 175 BrowserContext* browser_context,
181 const GURL& site) { 176 const GURL& site) {
182 return std::string(); 177 return std::string();
183 } 178 }
184 179
185 bool ContentBrowserClient::IsValidStoragePartitionId( 180 bool ContentBrowserClient::IsValidStoragePartitionId(
186 BrowserContext* browser_context, 181 BrowserContext* browser_context,
187 const std::string& partition_id) { 182 const std::string& partition_id) {
188 // Since the GetStoragePartitionIdForChildProcess() only generates empty 183 // Since the GetStoragePartitionIdForChildProcess() only generates empty
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 #endif 296 #endif
302 297
303 #if defined(USE_NSS) 298 #if defined(USE_NSS)
304 crypto::CryptoModuleBlockingPasswordDelegate* 299 crypto::CryptoModuleBlockingPasswordDelegate*
305 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 300 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
306 return NULL; 301 return NULL;
307 } 302 }
308 #endif 303 #endif
309 304
310 } // namespace content 305 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698