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

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

Issue 5730004: Rename ExtensionsService to ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_MANAGEMENT_API_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__
7 #pragma once 7 #pragma once
8 8
9 #include "base/singleton.h" 9 #include "base/singleton.h"
10 #include "chrome/browser/extensions/extension_function.h" 10 #include "chrome/browser/extensions/extension_function.h"
11 #include "chrome/common/notification_observer.h" 11 #include "chrome/common/notification_observer.h"
12 #include "chrome/common/notification_registrar.h" 12 #include "chrome/common/notification_registrar.h"
13 13
14 class ExtensionsService; 14 class ExtensionService;
15 15
16 class ExtensionManagementFunction : public SyncExtensionFunction { 16 class ExtensionManagementFunction : public SyncExtensionFunction {
17 protected: 17 protected:
18 ExtensionsService* service(); 18 ExtensionService* service();
19 }; 19 };
20 20
21 class GetAllExtensionsFunction : public ExtensionManagementFunction { 21 class GetAllExtensionsFunction : public ExtensionManagementFunction {
22 ~GetAllExtensionsFunction() {} 22 ~GetAllExtensionsFunction() {}
23 virtual bool RunImpl(); 23 virtual bool RunImpl();
24 DECLARE_EXTENSION_FUNCTION_NAME("management.getAll"); 24 DECLARE_EXTENSION_FUNCTION_NAME("management.getAll");
25 }; 25 };
26 26
27 class GetExtensionByIdFunction : public ExtensionManagementFunction { 27 class GetExtensionByIdFunction : public ExtensionManagementFunction {
28 ~GetExtensionByIdFunction() {} 28 ~GetExtensionByIdFunction() {}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void Observe(NotificationType type, 66 virtual void Observe(NotificationType type,
67 const NotificationSource& source, 67 const NotificationSource& source,
68 const NotificationDetails& details); 68 const NotificationDetails& details);
69 69
70 NotificationRegistrar registrar_; 70 NotificationRegistrar registrar_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementEventRouter); 72 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementEventRouter);
73 }; 73 };
74 74
75 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__ 75 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_ui_browsertest.cc ('k') | chrome/browser/extensions/extension_management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698