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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

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
OLDNEW
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void RequestProtectedMediaIdentifierPermission( 94 virtual void RequestProtectedMediaIdentifierPermission(
95 int render_process_id, 95 int render_process_id,
96 int render_view_id, 96 int render_view_id,
97 const GURL& origin, 97 const GURL& origin,
98 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 98 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
99 virtual void CancelProtectedMediaIdentifierPermissionRequests( 99 virtual void CancelProtectedMediaIdentifierPermissionRequests(
100 int render_process_id, 100 int render_process_id,
101 int render_view_id, 101 int render_view_id,
102 const GURL& origin) OVERRIDE; 102 const GURL& origin) OVERRIDE;
103 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 103 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
104 virtual content::GeolocationPermissionContext*
105 GetGeolocationPermissionContext() OVERRIDE;
106 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 104 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
107 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 105 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
108 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; 106 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
109 107
110 // Profile implementation: 108 // Profile implementation:
111 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; 109 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE;
112 // Note that this implementation returns the Google-services username, if any, 110 // Note that this implementation returns the Google-services username, if any,
113 // not the Chrome user's display name. 111 // not the Chrome user's display name.
114 virtual std::string GetProfileName() OVERRIDE; 112 virtual std::string GetProfileName() OVERRIDE;
115 virtual ProfileType GetProfileType() const OVERRIDE; 113 virtual ProfileType GetProfileType() const OVERRIDE;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // components/keyed_service/content/browser_context_keyed_service_factory.* 301 // components/keyed_service/content/browser_context_keyed_service_factory.*
304 302
305 Profile::Delegate* delegate_; 303 Profile::Delegate* delegate_;
306 304
307 chrome_browser_net::Predictor* predictor_; 305 chrome_browser_net::Predictor* predictor_;
308 306
309 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 307 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
310 }; 308 };
311 309
312 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 310 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698