OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/profile.h" | 5 #include "chrome/browser/profile.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 } | 437 } |
438 | 438 |
439 virtual TokenService* GetTokenService() { | 439 virtual TokenService* GetTokenService() { |
440 return NULL; | 440 return NULL; |
441 } | 441 } |
442 | 442 |
443 virtual ProfileSyncService* GetProfileSyncService() { | 443 virtual ProfileSyncService* GetProfileSyncService() { |
444 return NULL; | 444 return NULL; |
445 } | 445 } |
446 | 446 |
| 447 virtual ProfileSyncService* GetProfileSyncService( |
| 448 const std::string& cros_user) { |
| 449 return NULL; |
| 450 } |
| 451 |
447 virtual CloudPrintProxyService* GetCloudPrintProxyService() { | 452 virtual CloudPrintProxyService* GetCloudPrintProxyService() { |
448 return NULL; | 453 return NULL; |
449 } | 454 } |
450 | 455 |
451 virtual bool IsSameProfile(Profile* profile) { | 456 virtual bool IsSameProfile(Profile* profile) { |
452 return (profile == this) || (profile == profile_); | 457 return (profile == this) || (profile == profile_); |
453 } | 458 } |
454 | 459 |
455 virtual Time GetStartTime() const { | 460 virtual Time GetStartTime() const { |
456 return start_time_; | 461 return start_time_; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 | 611 |
607 // The file_system context for this profile. | 612 // The file_system context for this profile. |
608 scoped_refptr<FileSystemHostContext> file_system_host_context_; | 613 scoped_refptr<FileSystemHostContext> file_system_host_context_; |
609 | 614 |
610 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 615 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
611 }; | 616 }; |
612 | 617 |
613 Profile *Profile::CreateOffTheRecordProfile() { | 618 Profile *Profile::CreateOffTheRecordProfile() { |
614 return new OffTheRecordProfileImpl(this); | 619 return new OffTheRecordProfileImpl(this); |
615 } | 620 } |
OLD | NEW |