OLD | NEW |
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 BrowserContext* browser_context, | 178 BrowserContext* browser_context, |
179 const GURL& site, | 179 const GURL& site, |
180 std::string* partition_domain, | 180 std::string* partition_domain, |
181 std::string* partition_name, | 181 std::string* partition_name, |
182 bool* in_memory) { | 182 bool* in_memory) { |
183 partition_domain->clear(); | 183 partition_domain->clear(); |
184 partition_name->clear(); | 184 partition_name->clear(); |
185 *in_memory = false; | 185 *in_memory = false; |
186 } | 186 } |
187 | 187 |
| 188 void ContentBrowserClient::ParseNonDefaultStoragePartitionConfig( |
| 189 const GURL& site, |
| 190 std::string* partition_domain, |
| 191 std::string* partition_name, |
| 192 bool* in_memory) { |
| 193 // Default embedders only have a default partition so this code |
| 194 // falls to that despite its name. |
| 195 partition_domain->clear(); |
| 196 partition_name->clear(); |
| 197 *in_memory = false; |
| 198 } |
| 199 |
188 MediaObserver* ContentBrowserClient::GetMediaObserver() { | 200 MediaObserver* ContentBrowserClient::GetMediaObserver() { |
189 return NULL; | 201 return NULL; |
190 } | 202 } |
191 | 203 |
192 WebKit::WebNotificationPresenter::Permission | 204 WebKit::WebNotificationPresenter::Permission |
193 ContentBrowserClient::CheckDesktopNotificationPermission( | 205 ContentBrowserClient::CheckDesktopNotificationPermission( |
194 const GURL& source_origin, | 206 const GURL& source_origin, |
195 ResourceContext* context, | 207 ResourceContext* context, |
196 int render_process_id) { | 208 int render_process_id) { |
197 return WebKit::WebNotificationPresenter::PermissionAllowed; | 209 return WebKit::WebNotificationPresenter::PermissionAllowed; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 #endif | 276 #endif |
265 | 277 |
266 #if defined(USE_NSS) | 278 #if defined(USE_NSS) |
267 crypto::CryptoModuleBlockingPasswordDelegate* | 279 crypto::CryptoModuleBlockingPasswordDelegate* |
268 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 280 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
269 return NULL; | 281 return NULL; |
270 } | 282 } |
271 #endif | 283 #endif |
272 | 284 |
273 } // namespace content | 285 } // namespace content |
OLD | NEW |