| 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/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 blob_storage_context_.get(), | 619 blob_storage_context_.get(), |
| 620 &ChromeBlobStorageContext::InitializeOnIOThread)); | 620 &ChromeBlobStorageContext::InitializeOnIOThread)); |
| 621 } | 621 } |
| 622 return blob_storage_context_; | 622 return blob_storage_context_; |
| 623 } | 623 } |
| 624 | 624 |
| 625 virtual ExtensionInfoMap* GetExtensionInfoMap() { | 625 virtual ExtensionInfoMap* GetExtensionInfoMap() { |
| 626 return profile_->GetExtensionInfoMap(); | 626 return profile_->GetExtensionInfoMap(); |
| 627 } | 627 } |
| 628 | 628 |
| 629 virtual policy::ProfilePolicyContext* GetPolicyContext() { | 629 virtual policy::ProfilePolicyConnector* GetPolicyConnector() { |
| 630 return NULL; | 630 return NULL; |
| 631 } | 631 } |
| 632 | 632 |
| 633 virtual PromoCounter* GetInstantPromoCounter() { | 633 virtual PromoCounter* GetInstantPromoCounter() { |
| 634 return NULL; | 634 return NULL; |
| 635 } | 635 } |
| 636 | 636 |
| 637 #if defined(OS_CHROMEOS) | 637 #if defined(OS_CHROMEOS) |
| 638 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia) { | 638 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia) { |
| 639 } | 639 } |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 }; | 737 }; |
| 738 #endif | 738 #endif |
| 739 | 739 |
| 740 Profile* Profile::CreateOffTheRecordProfile() { | 740 Profile* Profile::CreateOffTheRecordProfile() { |
| 741 #if defined(OS_CHROMEOS) | 741 #if defined(OS_CHROMEOS) |
| 742 if (Profile::IsGuestSession()) | 742 if (Profile::IsGuestSession()) |
| 743 return new GuestSessionProfile(this); | 743 return new GuestSessionProfile(this); |
| 744 #endif | 744 #endif |
| 745 return new OffTheRecordProfileImpl(this); | 745 return new OffTheRecordProfileImpl(this); |
| 746 } | 746 } |
| OLD | NEW |