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

Side by Side Diff: content/shell/browser/shell_browser_context.cc

Issue 261363002: Rename BrowserPluginGuestManagerDelegate to BrowserPluginGuestManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_cleanupguestmanager
Patch Set: Fixed Android Build (Hopefully) Created 6 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
« no previous file with comments | « content/shell/browser/shell_browser_context.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/shell/browser/shell_browser_context.h" 5 #include "content/shell/browser/shell_browser_context.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 ShellURLRequestContextGetter* getter_; 58 ShellURLRequestContextGetter* getter_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ShellResourceContext); 60 DISALLOW_COPY_AND_ASSIGN(ShellResourceContext);
61 }; 61 };
62 62
63 ShellBrowserContext::ShellBrowserContext(bool off_the_record, 63 ShellBrowserContext::ShellBrowserContext(bool off_the_record,
64 net::NetLog* net_log) 64 net::NetLog* net_log)
65 : off_the_record_(off_the_record), 65 : off_the_record_(off_the_record),
66 net_log_(net_log), 66 net_log_(net_log),
67 ignore_certificate_errors_(false), 67 ignore_certificate_errors_(false),
68 guest_manager_delegate_(NULL), 68 guest_manager_(NULL),
69 resource_context_(new ShellResourceContext) { 69 resource_context_(new ShellResourceContext) {
70 InitWhileIOAllowed(); 70 InitWhileIOAllowed();
71 } 71 }
72 72
73 ShellBrowserContext::~ShellBrowserContext() { 73 ShellBrowserContext::~ShellBrowserContext() {
74 if (resource_context_) { 74 if (resource_context_) {
75 BrowserThread::DeleteSoon( 75 BrowserThread::DeleteSoon(
76 BrowserThread::IO, FROM_HERE, resource_context_.release()); 76 BrowserThread::IO, FROM_HERE, resource_context_.release());
77 } 77 }
78 } 78 }
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 ResourceContext* ShellBrowserContext::GetResourceContext() { 229 ResourceContext* ShellBrowserContext::GetResourceContext() {
230 return resource_context_.get(); 230 return resource_context_.get();
231 } 231 }
232 232
233 GeolocationPermissionContext* 233 GeolocationPermissionContext*
234 ShellBrowserContext::GetGeolocationPermissionContext() { 234 ShellBrowserContext::GetGeolocationPermissionContext() {
235 return NULL; 235 return NULL;
236 } 236 }
237 237
238 BrowserPluginGuestManagerDelegate* 238 BrowserPluginGuestManager* ShellBrowserContext::GetGuestManager() {
239 ShellBrowserContext::GetGuestManagerDelegate() { 239 return guest_manager_;
240 return guest_manager_delegate_;
241 } 240 }
242 241
243 quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { 242 quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() {
244 return NULL; 243 return NULL;
245 } 244 }
246 245
247 } // namespace content 246 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_browser_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698