OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test/base/testing_profile.h" | 5 #include "chrome/test/base/testing_profile.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 #endif | 821 #endif |
822 } | 822 } |
823 return host_content_settings_map_.get(); | 823 return host_content_settings_map_.get(); |
824 } | 824 } |
825 | 825 |
826 content::GeolocationPermissionContext* | 826 content::GeolocationPermissionContext* |
827 TestingProfile::GetGeolocationPermissionContext() { | 827 TestingProfile::GetGeolocationPermissionContext() { |
828 return ChromeGeolocationPermissionContextFactory::GetForProfile(this); | 828 return ChromeGeolocationPermissionContextFactory::GetForProfile(this); |
829 } | 829 } |
830 | 830 |
831 content::BrowserPluginGuestManagerDelegate* | 831 content::BrowserPluginGuestManager* TestingProfile::GetGuestManager() { |
832 TestingProfile::GetGuestManagerDelegate() { | |
833 return GuestViewManager::FromBrowserContext(this); | 832 return GuestViewManager::FromBrowserContext(this); |
834 } | 833 } |
835 | 834 |
836 std::wstring TestingProfile::GetName() { | 835 std::wstring TestingProfile::GetName() { |
837 return std::wstring(); | 836 return std::wstring(); |
838 } | 837 } |
839 | 838 |
840 std::wstring TestingProfile::GetID() { | 839 std::wstring TestingProfile::GetID() { |
841 return id_; | 840 return id_; |
842 } | 841 } |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 path_, | 977 path_, |
979 delegate_, | 978 delegate_, |
980 extension_policy_, | 979 extension_policy_, |
981 pref_service_.Pass(), | 980 pref_service_.Pass(), |
982 incognito_, | 981 incognito_, |
983 guest_session_, | 982 guest_session_, |
984 managed_user_id_, | 983 managed_user_id_, |
985 policy_service_.Pass(), | 984 policy_service_.Pass(), |
986 testing_factories_)); | 985 testing_factories_)); |
987 } | 986 } |
OLD | NEW |