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

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

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ToT Created 8 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/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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { 154 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() {
155 return NULL; 155 return NULL;
156 } 156 }
157 157
158 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( 158 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL(
159 const GURL& url, ResourceContext* context) { 159 const GURL& url, ResourceContext* context) {
160 return NULL; 160 return NULL;
161 } 161 }
162 162
163 std::string ContentBrowserClient::GetStoragePartitionIdForChildProcess( 163 std::string ContentBrowserClient::GetStoragePartitionIdForChildProcess(
164 content::BrowserContext* browser_context, 164 BrowserContext* browser_context,
165 int child_process_id) { 165 int child_process_id) {
166 return std::string(); 166 return std::string();
167 } 167 }
168 168
169 std::string ContentBrowserClient::GetStoragePartitionIdForSiteInstance(
170 BrowserContext* browser_context,
171 content::SiteInstance* instance) {
172 return std::string();
173 }
174
175 bool ContentBrowserClient::IsValidStoragePartitionId(
176 BrowserContext* browser_context,
177 const std::string& partition_id) {
178 // Since the GetStoragePartitionIdForChildProcess() only generates empty
179 // strings, we should only ever see empty strings coming back.
180 return partition_id.empty();
181 }
182
169 MediaObserver* ContentBrowserClient::GetMediaObserver() { 183 MediaObserver* ContentBrowserClient::GetMediaObserver() {
170 return NULL; 184 return NULL;
171 } 185 }
172 186
173 WebKit::WebNotificationPresenter::Permission 187 WebKit::WebNotificationPresenter::Permission
174 ContentBrowserClient::CheckDesktopNotificationPermission( 188 ContentBrowserClient::CheckDesktopNotificationPermission(
175 const GURL& source_origin, 189 const GURL& source_origin,
176 ResourceContext* context, 190 ResourceContext* context,
177 int render_process_id) { 191 int render_process_id) {
178 return WebKit::WebNotificationPresenter::PermissionAllowed; 192 return WebKit::WebNotificationPresenter::PermissionAllowed;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 #endif 248 #endif
235 249
236 #if defined(USE_NSS) 250 #if defined(USE_NSS)
237 crypto::CryptoModuleBlockingPasswordDelegate* 251 crypto::CryptoModuleBlockingPasswordDelegate*
238 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 252 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
239 return NULL; 253 return NULL;
240 } 254 }
241 #endif 255 #endif
242 256
243 } // namespace content 257 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698