| 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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 blob_storage_context_.get(), | 574 blob_storage_context_.get(), |
| 575 &ChromeBlobStorageContext::InitializeOnIOThread)); | 575 &ChromeBlobStorageContext::InitializeOnIOThread)); |
| 576 } | 576 } |
| 577 return blob_storage_context_; | 577 return blob_storage_context_; |
| 578 } | 578 } |
| 579 | 579 |
| 580 virtual ExtensionInfoMap* GetExtensionInfoMap() { | 580 virtual ExtensionInfoMap* GetExtensionInfoMap() { |
| 581 return profile_->GetExtensionInfoMap(); | 581 return profile_->GetExtensionInfoMap(); |
| 582 } | 582 } |
| 583 | 583 |
| 584 virtual policy::DeviceManagementService* GetDeviceManagementService() { |
| 585 return NULL; |
| 586 } |
| 587 |
| 584 virtual policy::DeviceManagementPolicyProvider* | 588 virtual policy::DeviceManagementPolicyProvider* |
| 585 GetDeviceManagementPolicyProvider() { | 589 GetDeviceManagementPolicyProvider() { |
| 586 return NULL; | 590 return NULL; |
| 587 } | 591 } |
| 588 | 592 |
| 589 virtual PromoCounter* GetInstantPromoCounter() { | 593 virtual PromoCounter* GetInstantPromoCounter() { |
| 590 return NULL; | 594 return NULL; |
| 591 } | 595 } |
| 592 | 596 |
| 593 private: | 597 private: |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 | 654 |
| 651 // The file_system context for this profile. | 655 // The file_system context for this profile. |
| 652 scoped_refptr<BrowserFileSystemContext> browser_file_system_context_; | 656 scoped_refptr<BrowserFileSystemContext> browser_file_system_context_; |
| 653 | 657 |
| 654 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 658 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
| 655 }; | 659 }; |
| 656 | 660 |
| 657 Profile* Profile::CreateOffTheRecordProfile() { | 661 Profile* Profile::CreateOffTheRecordProfile() { |
| 658 return new OffTheRecordProfileImpl(this); | 662 return new OffTheRecordProfileImpl(this); |
| 659 } | 663 } |
| OLD | NEW |