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

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

Issue 11232066: Remove GetExtensionEventRouter from Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 "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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 211 }
212 212
213 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() { 213 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() {
214 return extensions::ExtensionSystem::Get(this)->extension_service(); 214 return extensions::ExtensionSystem::Get(this)->extension_service();
215 } 215 }
216 216
217 extensions::UserScriptMaster* OffTheRecordProfileImpl::GetUserScriptMaster() { 217 extensions::UserScriptMaster* OffTheRecordProfileImpl::GetUserScriptMaster() {
218 return extensions::ExtensionSystem::Get(this)->user_script_master(); 218 return extensions::ExtensionSystem::Get(this)->user_script_master();
219 } 219 }
220 220
221 extensions::EventRouter* OffTheRecordProfileImpl::GetExtensionEventRouter() {
222 return extensions::ExtensionSystem::Get(this)->event_router();
223 }
224
225 ExtensionSpecialStoragePolicy* 221 ExtensionSpecialStoragePolicy*
226 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() { 222 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() {
227 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy(); 223 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy();
228 } 224 }
229 225
230 GAIAInfoUpdateService* OffTheRecordProfileImpl::GetGAIAInfoUpdateService() { 226 GAIAInfoUpdateService* OffTheRecordProfileImpl::GetGAIAInfoUpdateService() {
231 return NULL; 227 return NULL;
232 } 228 }
233 229
234 policy::UserCloudPolicyManager* 230 policy::UserCloudPolicyManager*
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 if (!profile) 490 if (!profile)
495 profile = new OffTheRecordProfileImpl(this); 491 profile = new OffTheRecordProfileImpl(this);
496 profile->Init(); 492 profile->Init();
497 return profile; 493 return profile;
498 } 494 }
499 495
500 base::Callback<ChromeURLDataManagerBackend*(void)> 496 base::Callback<ChromeURLDataManagerBackend*(void)>
501 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { 497 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const {
502 return io_data_.GetChromeURLDataManagerBackendGetter(); 498 return io_data_.GetChromeURLDataManagerBackendGetter();
503 } 499 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698