OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/ui/app_list/test/fake_profile.h" | 5 #include "chrome/browser/ui/app_list/test/fake_profile.h" |
6 | 6 |
7 FakeProfile::FakeProfile(const std::string& name) | 7 FakeProfile::FakeProfile(const std::string& name) |
8 : name_(name) { | 8 : name_(name) { |
9 } | 9 } |
10 | 10 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 void FakeProfile::CancelProtectedMediaIdentifierPermissionRequests( | 82 void FakeProfile::CancelProtectedMediaIdentifierPermissionRequests( |
83 int render_process_id, | 83 int render_process_id, |
84 int render_view_id, | 84 int render_view_id, |
85 const GURL& origin) { | 85 const GURL& origin) { |
86 } | 86 } |
87 | 87 |
88 content::ResourceContext* FakeProfile::GetResourceContext() { | 88 content::ResourceContext* FakeProfile::GetResourceContext() { |
89 return NULL; | 89 return NULL; |
90 } | 90 } |
91 | 91 |
92 content::GeolocationPermissionContext* | |
93 FakeProfile::GetGeolocationPermissionContext() { | |
94 return NULL; | |
95 } | |
96 | |
97 content::BrowserPluginGuestManager* FakeProfile::GetGuestManager() { | 92 content::BrowserPluginGuestManager* FakeProfile::GetGuestManager() { |
98 return NULL; | 93 return NULL; |
99 } | 94 } |
100 | 95 |
101 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { | 96 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { |
102 return NULL; | 97 return NULL; |
103 } | 98 } |
104 | 99 |
105 content::PushMessagingService* FakeProfile::GetPushMessagingService() { | 100 content::PushMessagingService* FakeProfile::GetPushMessagingService() { |
106 return NULL; | 101 return NULL; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 229 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
235 return false; | 230 return false; |
236 } | 231 } |
237 | 232 |
238 void FakeProfile::SetExitType(ExitType exit_type) { | 233 void FakeProfile::SetExitType(ExitType exit_type) { |
239 } | 234 } |
240 | 235 |
241 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 236 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
242 return EXIT_NORMAL; | 237 return EXIT_NORMAL; |
243 } | 238 } |
OLD | NEW |