OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |