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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 990303002: Implement PermissionService::GetNextPermissionChange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_impl
Patch Set: cosmetic changes Created 5 years, 9 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
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_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 content::WebContents* web_contents, 183 content::WebContents* web_contents,
184 int bridge_id, 184 int bridge_id,
185 const GURL& requesting_frame, 185 const GURL& requesting_frame,
186 bool user_gesture, 186 bool user_gesture,
187 const base::Callback<void(content::PermissionStatus)>& callback) override; 187 const base::Callback<void(content::PermissionStatus)>& callback) override;
188 content::PermissionStatus GetPermissionStatus( 188 content::PermissionStatus GetPermissionStatus(
189 content::PermissionType permission, 189 content::PermissionType permission,
190 content::BrowserContext* browser_context, 190 content::BrowserContext* browser_context,
191 const GURL& requesting_origin, 191 const GURL& requesting_origin,
192 const GURL& embedding_origin) override; 192 const GURL& embedding_origin) override;
193 int SubscribePermissionStatusChange(
194 content::PermissionType permission,
195 content::BrowserContext* browser_context,
196 const GURL& requesting_origin,
197 const GURL& embedding_origin,
198 const base::Callback<void(content::PermissionStatus)>& callback) override;
199 void UnsubscribePermissionStatusChange(
200 content::BrowserContext* browser_context,
201 int subscription_id) override;
193 void ResetPermission( 202 void ResetPermission(
194 content::PermissionType permission, 203 content::PermissionType permission,
195 content::BrowserContext* browser_context, 204 content::BrowserContext* browser_context,
196 const GURL& requesting_origin, 205 const GURL& requesting_origin,
197 const GURL& embedding_origin) override; 206 const GURL& embedding_origin) override;
198 void CancelPermissionRequest(content::PermissionType permission, 207 void CancelPermissionRequest(content::PermissionType permission,
199 content::WebContents* web_contents, 208 content::WebContents* web_contents,
200 int bridge_id, 209 int bridge_id,
201 const GURL& requesting_frame) override; 210 const GURL& requesting_frame) override;
202 void RegisterPermissionUsage(content::PermissionType permission, 211 void RegisterPermissionUsage(content::PermissionType permission,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 343 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
335 344
336 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 345 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
337 346
338 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 347 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
339 }; 348 };
340 349
341 } // namespace chrome 350 } // namespace chrome
342 351
343 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/content_settings/permission_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698