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

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

Issue 6625076: Removing references to off the record in comments and log messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/profile.h" 5 #include "chrome/browser/profiles/profile.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 virtual chromeos::ProxyConfigServiceImpl* 599 virtual chromeos::ProxyConfigServiceImpl*
600 GetChromeOSProxyConfigServiceImpl() { 600 GetChromeOSProxyConfigServiceImpl() {
601 return profile_->GetChromeOSProxyConfigServiceImpl(); 601 return profile_->GetChromeOSProxyConfigServiceImpl();
602 } 602 }
603 603
604 virtual void SetupChromeOSEnterpriseExtensionObserver() { 604 virtual void SetupChromeOSEnterpriseExtensionObserver() {
605 profile_->SetupChromeOSEnterpriseExtensionObserver(); 605 profile_->SetupChromeOSEnterpriseExtensionObserver();
606 } 606 }
607 607
608 virtual void InitChromeOSPreferences() { 608 virtual void InitChromeOSPreferences() {
609 // The off-the-record profile shouldn't have Chrome OS's preferences. 609 // The incognito profile shouldn't have Chrome OS's preferences.
610 // The preferences are associated with the regular user profile. 610 // The preferences are associated with the regular user profile.
611 } 611 }
612 #endif // defined(OS_CHROMEOS) 612 #endif // defined(OS_CHROMEOS)
613 613
614 virtual void ExitedOffTheRecordMode() { 614 virtual void ExitedOffTheRecordMode() {
615 // DownloadManager is lazily created, so check before accessing it. 615 // DownloadManager is lazily created, so check before accessing it.
616 if (download_manager_.get()) { 616 if (download_manager_.get()) {
617 // Drop our download manager so we forget about all the downloads made 617 // Drop our download manager so we forget about all the downloads made
618 // in off-the-record mode. 618 // in incognito mode.
619 download_manager_->Shutdown(); 619 download_manager_->Shutdown();
620 download_manager_ = NULL; 620 download_manager_ = NULL;
621 } 621 }
622 } 622 }
623 623
624 virtual void OnBrowserAdded(const Browser* browser) { 624 virtual void OnBrowserAdded(const Browser* browser) {
625 } 625 }
626 626
627 virtual void OnBrowserRemoved(const Browser* browser) { 627 virtual void OnBrowserRemoved(const Browser* browser) {
628 if (BrowserList::GetBrowserCount(this) == 0) 628 if (BrowserList::GetBrowserCount(this) == 0)
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 }; 771 };
772 #endif 772 #endif
773 773
774 Profile* Profile::CreateOffTheRecordProfile() { 774 Profile* Profile::CreateOffTheRecordProfile() {
775 #if defined(OS_CHROMEOS) 775 #if defined(OS_CHROMEOS)
776 if (Profile::IsGuestSession()) 776 if (Profile::IsGuestSession())
777 return new GuestSessionProfile(this); 777 return new GuestSessionProfile(this);
778 #endif 778 #endif
779 return new OffTheRecordProfileImpl(this); 779 return new OffTheRecordProfileImpl(this);
780 } 780 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698