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

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 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
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 "chrome/browser/profiles/off_the_record_profile_impl.h" 5 #include "chrome/browser/profiles/off_the_record_profile_impl.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/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 } 259 }
260 260
261 net::URLRequestContextGetter* OffTheRecordProfileImpl::GetRequestContext() { 261 net::URLRequestContextGetter* OffTheRecordProfileImpl::GetRequestContext() {
262 return io_data_.GetMainRequestContextGetter(); 262 return io_data_.GetMainRequestContextGetter();
263 } 263 }
264 264
265 net::URLRequestContextGetter* 265 net::URLRequestContextGetter*
266 OffTheRecordProfileImpl::GetRequestContextForRenderProcess( 266 OffTheRecordProfileImpl::GetRequestContextForRenderProcess(
267 int renderer_child_id) { 267 int renderer_child_id) {
268 if (GetExtensionService()) { 268 if (GetExtensionService()) {
269 const Extension* installed_app = GetExtensionService()-> 269 const extensions::Extension* installed_app = GetExtensionService()->
270 GetInstalledAppForRenderer(renderer_child_id); 270 GetInstalledAppForRenderer(renderer_child_id);
271 if (installed_app != NULL && installed_app->is_storage_isolated()) { 271 if (installed_app != NULL && installed_app->is_storage_isolated()) {
272 return GetRequestContextForIsolatedApp(installed_app->id()); 272 return GetRequestContextForIsolatedApp(installed_app->id());
273 } 273 }
274 } 274 }
275 return GetRequestContext(); 275 return GetRequestContext();
276 } 276 }
277 277
278 net::URLRequestContextGetter* 278 net::URLRequestContextGetter*
279 OffTheRecordProfileImpl::GetRequestContextForMedia() { 279 OffTheRecordProfileImpl::GetRequestContextForMedia() {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 if (!profile) 471 if (!profile)
472 profile = new OffTheRecordProfileImpl(this); 472 profile = new OffTheRecordProfileImpl(this);
473 profile->Init(); 473 profile->Init();
474 return profile; 474 return profile;
475 } 475 }
476 476
477 base::Callback<ChromeURLDataManagerBackend*(void)> 477 base::Callback<ChromeURLDataManagerBackend*(void)>
478 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { 478 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const {
479 return io_data_.GetChromeURLDataManagerBackendGetter(); 479 return io_data_.GetChromeURLDataManagerBackendGetter();
480 } 480 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler.cc ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698