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

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

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 years, 9 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 GetPrefs(), GetExtensionService(), true); 355 GetPrefs(), GetExtensionService(), true);
356 } 356 }
357 return host_content_settings_map_.get(); 357 return host_content_settings_map_.get();
358 } 358 }
359 359
360 content::GeolocationPermissionContext* 360 content::GeolocationPermissionContext*
361 OffTheRecordProfileImpl::GetGeolocationPermissionContext() { 361 OffTheRecordProfileImpl::GetGeolocationPermissionContext() {
362 return profile_->GetGeolocationPermissionContext(); 362 return profile_->GetGeolocationPermissionContext();
363 } 363 }
364 364
365 content::SpeechInputPreferences* 365 content::SpeechRecognitionPreferences*
366 OffTheRecordProfileImpl::GetSpeechInputPreferences() { 366 OffTheRecordProfileImpl::GetSpeechRecognitionPreferences() {
367 return profile_->GetSpeechInputPreferences(); 367 return profile_->GetSpeechRecognitionPreferences();
368 } 368 }
369 369
370 UserStyleSheetWatcher* OffTheRecordProfileImpl::GetUserStyleSheetWatcher() { 370 UserStyleSheetWatcher* OffTheRecordProfileImpl::GetUserStyleSheetWatcher() {
371 return profile_->GetUserStyleSheetWatcher(); 371 return profile_->GetUserStyleSheetWatcher();
372 } 372 }
373 373
374 bool OffTheRecordProfileImpl::DidLastSessionExitCleanly() { 374 bool OffTheRecordProfileImpl::DidLastSessionExitCleanly() {
375 return profile_->DidLastSessionExitCleanly(); 375 return profile_->DidLastSessionExitCleanly();
376 } 376 }
377 377
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 OffTheRecordProfileImpl* profile = NULL; 540 OffTheRecordProfileImpl* profile = NULL;
541 #if defined(OS_CHROMEOS) 541 #if defined(OS_CHROMEOS)
542 if (Profile::IsGuestSession()) 542 if (Profile::IsGuestSession())
543 profile = new GuestSessionProfile(this); 543 profile = new GuestSessionProfile(this);
544 #endif 544 #endif
545 if (!profile) 545 if (!profile)
546 profile = new OffTheRecordProfileImpl(this); 546 profile = new OffTheRecordProfileImpl(this);
547 profile->Init(); 547 profile->Init();
548 return profile; 548 return profile;
549 } 549 }
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