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

Side by Side Diff: chrome/browser/profiles/off_the_record_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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual void RequestProtectedMediaIdentifierPermission( 120 virtual void RequestProtectedMediaIdentifierPermission(
121 int render_process_id, 121 int render_process_id,
122 int render_view_id, 122 int render_view_id,
123 const GURL& origin, 123 const GURL& origin,
124 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 124 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
125 virtual void CancelProtectedMediaIdentifierPermissionRequests( 125 virtual void CancelProtectedMediaIdentifierPermissionRequests(
126 int render_process_id, 126 int render_process_id,
127 int render_view_id, 127 int render_view_id,
128 const GURL& origin) OVERRIDE; 128 const GURL& origin) OVERRIDE;
129 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 129 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
130 virtual content::GeolocationPermissionContext*
131 GetGeolocationPermissionContext() OVERRIDE;
132 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 130 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
133 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 131 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
134 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; 132 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
135 133
136 private: 134 private:
137 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); 135 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap);
138 void InitIoData(); 136 void InitIoData();
139 void InitHostZoomMap(); 137 void InitHostZoomMap();
140 138
141 #if defined(OS_ANDROID) || defined(OS_IOS) 139 #if defined(OS_ANDROID) || defined(OS_IOS)
(...skipping 20 matching lines...) Expand all
162 base::FilePath last_selected_directory_; 160 base::FilePath last_selected_directory_;
163 161
164 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 162 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
165 163
166 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 164 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
167 165
168 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 166 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
169 }; 167 };
170 168
171 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 169 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698