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

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

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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) 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 "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/extensions/extension_function.h" 10 #include "chrome/browser/extensions/extension_function.h"
11 #include "chrome/browser/extensions/extension_install_ui.h" 11 #include "chrome/browser/extensions/extension_install_ui.h"
12 #include "chrome/common/extensions/extension_permission_set.h" 12 #include "chrome/common/extensions/extension_permission_set.h"
13 #include "chrome/common/chrome_notification_types.h" 13 #include "chrome/common/chrome_notification_types.h"
14 #include "content/browser/renderer_host/render_process_host.h" 14 #include "content/browser/renderer_host/render_process_host.h"
15 #include "content/common/notification_service.h"
16 15
17 namespace base { 16 namespace base {
18 class DictionaryValue; 17 class DictionaryValue;
19 } 18 }
20 class Extension; 19 class Extension;
21 class ExtensionPermissionSet; 20 class ExtensionPermissionSet;
22 class ExtensionService; 21 class ExtensionService;
23 class Profile; 22 class Profile;
24 23
25 class ExtensionPermissionsManager { 24 class ExtensionPermissionsManager {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual bool RunImpl() OVERRIDE; 101 virtual bool RunImpl() OVERRIDE;
103 102
104 private: 103 private:
105 scoped_ptr<ExtensionInstallUI> install_ui_; 104 scoped_ptr<ExtensionInstallUI> install_ui_;
106 scoped_refptr<ExtensionPermissionSet> requested_permissions_; 105 scoped_refptr<ExtensionPermissionSet> requested_permissions_;
107 const Extension* extension_; 106 const Extension* extension_;
108 DECLARE_EXTENSION_FUNCTION_NAME("permissions.request") 107 DECLARE_EXTENSION_FUNCTION_NAME("permissions.request")
109 }; 108 };
110 109
111 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__ 110 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_omnibox_apitest.cc ('k') | chrome/browser/extensions/extension_permissions_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698