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

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

Issue 7989001: Remove use of default request context and fix use of speech censor flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Separate overriden methods in profile_impl.h Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 Source<HostZoomMap>(profile_->GetHostZoomMap())); 414 Source<HostZoomMap>(profile_->GetHostZoomMap()));
415 } 415 }
416 return host_zoom_map_.get(); 416 return host_zoom_map_.get();
417 } 417 }
418 418
419 GeolocationPermissionContext* 419 GeolocationPermissionContext*
420 OffTheRecordProfileImpl::GetGeolocationPermissionContext() { 420 OffTheRecordProfileImpl::GetGeolocationPermissionContext() {
421 return profile_->GetGeolocationPermissionContext(); 421 return profile_->GetGeolocationPermissionContext();
422 } 422 }
423 423
424 SpeechInputPreferences* OffTheRecordProfileImpl::GetSpeechInputPreferences() {
425 return profile_->GetSpeechInputPreferences();
426 }
427
424 UserStyleSheetWatcher* OffTheRecordProfileImpl::GetUserStyleSheetWatcher() { 428 UserStyleSheetWatcher* OffTheRecordProfileImpl::GetUserStyleSheetWatcher() {
425 return profile_->GetUserStyleSheetWatcher(); 429 return profile_->GetUserStyleSheetWatcher();
426 } 430 }
427 431
428 FindBarState* OffTheRecordProfileImpl::GetFindBarState() { 432 FindBarState* OffTheRecordProfileImpl::GetFindBarState() {
429 if (!find_bar_state_.get()) 433 if (!find_bar_state_.get())
430 find_bar_state_.reset(new FindBarState()); 434 find_bar_state_.reset(new FindBarState());
431 return find_bar_state_.get(); 435 return find_bar_state_.get();
432 } 436 }
433 437
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 OffTheRecordProfileImpl* profile = NULL; 685 OffTheRecordProfileImpl* profile = NULL;
682 #if defined(OS_CHROMEOS) 686 #if defined(OS_CHROMEOS)
683 if (Profile::IsGuestSession()) 687 if (Profile::IsGuestSession())
684 profile = new GuestSessionProfile(this); 688 profile = new GuestSessionProfile(this);
685 #endif 689 #endif
686 if (!profile) 690 if (!profile)
687 profile = new OffTheRecordProfileImpl(this); 691 profile = new OffTheRecordProfileImpl(this);
688 profile->Init(); 692 profile->Init();
689 return profile; 693 return profile;
690 } 694 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698