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

Side by Side Diff: chrome/browser/extensions/extension_permissions_api.h

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/extensions/extension_function.h" 12 #include "chrome/browser/extensions/extension_function.h"
13 #include "chrome/browser/extensions/extension_install_ui.h" 13 #include "chrome/browser/extensions/extension_install_ui.h"
14 #include "chrome/common/extensions/extension_permission_set.h" 14 #include "chrome/common/extensions/extension_permission_set.h"
15 #include "chrome/common/chrome_notification_types.h" 15 #include "chrome/common/chrome_notification_types.h"
16 #include "content/browser/renderer_host/render_process_host.h" 16 #include "content/public/browser/render_process_host.h"
17 17
18 class Extension; 18 class Extension;
19 class ExtensionPermissionSet; 19 class ExtensionPermissionSet;
20 class ExtensionService; 20 class ExtensionService;
21 21
22 class ExtensionPermissionsManager { 22 class ExtensionPermissionsManager {
23 public: 23 public:
24 explicit ExtensionPermissionsManager(ExtensionService* extension_service); 24 explicit ExtensionPermissionsManager(ExtensionService* extension_service);
25 ~ExtensionPermissionsManager(); 25 ~ExtensionPermissionsManager();
26 26
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 virtual bool RunImpl() OVERRIDE; 99 virtual bool RunImpl() OVERRIDE;
100 100
101 private: 101 private:
102 scoped_ptr<ExtensionInstallUI> install_ui_; 102 scoped_ptr<ExtensionInstallUI> install_ui_;
103 scoped_refptr<ExtensionPermissionSet> requested_permissions_; 103 scoped_refptr<ExtensionPermissionSet> requested_permissions_;
104 const Extension* extension_; 104 const Extension* extension_;
105 DECLARE_EXTENSION_FUNCTION_NAME("permissions.request") 105 DECLARE_EXTENSION_FUNCTION_NAME("permissions.request")
106 }; 106 };
107 107
108 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__ 108 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_message_service.cc ('k') | chrome/browser/extensions/extension_permissions_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698