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

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

Issue 6894027: Initial refactoring complete Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed some tests that were broken by previous refactoring Created 9 years, 8 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 desktop_notification_service_.reset(new DesktopNotificationService( 509 desktop_notification_service_.reset(new DesktopNotificationService(
510 this, g_browser_process->notification_ui_manager())); 510 this, g_browser_process->notification_ui_manager()));
511 } 511 }
512 return desktop_notification_service_.get(); 512 return desktop_notification_service_.get();
513 } 513 }
514 514
515 virtual TokenService* GetTokenService() { 515 virtual TokenService* GetTokenService() {
516 return NULL; 516 return NULL;
517 } 517 }
518 518
519 virtual AuthenticationService* GetAuthenticationService() {
520 return NULL;
521 }
522
519 virtual ProfileSyncService* GetProfileSyncService() { 523 virtual ProfileSyncService* GetProfileSyncService() {
520 return NULL; 524 return NULL;
521 } 525 }
522 526
523 virtual ProfileSyncService* GetProfileSyncService( 527 virtual ProfileSyncService* GetProfileSyncService(
524 const std::string& cros_user) { 528 const std::string& cros_user) {
525 return NULL; 529 return NULL;
526 } 530 }
527 531
528 virtual BrowserSignin* GetBrowserSignin() { 532 virtual BrowserSignin* GetBrowserSignin() {
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 }; 783 };
780 #endif 784 #endif
781 785
782 Profile* Profile::CreateOffTheRecordProfile() { 786 Profile* Profile::CreateOffTheRecordProfile() {
783 #if defined(OS_CHROMEOS) 787 #if defined(OS_CHROMEOS)
784 if (Profile::IsGuestSession()) 788 if (Profile::IsGuestSession())
785 return new GuestSessionProfile(this); 789 return new GuestSessionProfile(this);
786 #endif 790 #endif
787 return new OffTheRecordProfileImpl(this); 791 return new OffTheRecordProfileImpl(this);
788 } 792 }
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