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

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

Issue 7748038: Remove BrowserSignin, as it's not used anywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/profiles/profile_impl.h » ('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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 587
588 virtual ProfileSyncService* GetProfileSyncService() { 588 virtual ProfileSyncService* GetProfileSyncService() {
589 return NULL; 589 return NULL;
590 } 590 }
591 591
592 virtual ProfileSyncService* GetProfileSyncService( 592 virtual ProfileSyncService* GetProfileSyncService(
593 const std::string& cros_user) { 593 const std::string& cros_user) {
594 return NULL; 594 return NULL;
595 } 595 }
596 596
597 virtual BrowserSignin* GetBrowserSignin() {
598 return profile_->GetBrowserSignin();
599 }
600
601 virtual bool IsSameProfile(Profile* profile) { 597 virtual bool IsSameProfile(Profile* profile) {
602 return (profile == this) || (profile == profile_); 598 return (profile == this) || (profile == profile_);
603 } 599 }
604 600
605 virtual Time GetStartTime() const { 601 virtual Time GetStartTime() const {
606 return start_time_; 602 return start_time_;
607 } 603 }
608 604
609 virtual SpellCheckHost* GetSpellCheckHost() { 605 virtual SpellCheckHost* GetSpellCheckHost() {
610 return profile_->GetSpellCheckHost(); 606 return profile_->GetSpellCheckHost();
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 }; 866 };
871 #endif 867 #endif
872 868
873 Profile* Profile::CreateOffTheRecordProfile() { 869 Profile* Profile::CreateOffTheRecordProfile() {
874 #if defined(OS_CHROMEOS) 870 #if defined(OS_CHROMEOS)
875 if (Profile::IsGuestSession()) 871 if (Profile::IsGuestSession())
876 return new GuestSessionProfile(this); 872 return new GuestSessionProfile(this);
877 #endif 873 #endif
878 return new OffTheRecordProfileImpl(this); 874 return new OffTheRecordProfileImpl(this);
879 } 875 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698