Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 330143002: Simplify geolocation permission request in the Content API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698