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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_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 "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
10 #include "content/common/notification_observer.h" 10 #include "content/common/notification_observer.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 class ExtensionManagementEventRouter : public NotificationObserver { 50 class ExtensionManagementEventRouter : public NotificationObserver {
51 public: 51 public:
52 explicit ExtensionManagementEventRouter(Profile* profile); 52 explicit ExtensionManagementEventRouter(Profile* profile);
53 virtual ~ExtensionManagementEventRouter(); 53 virtual ~ExtensionManagementEventRouter();
54 54
55 void Init(); 55 void Init();
56 56
57 private: 57 private:
58 // NotificationObserver implementation. 58 // NotificationObserver implementation.
59 virtual void Observe(NotificationType type, 59 virtual void Observe(int type,
60 const NotificationSource& source, 60 const NotificationSource& source,
61 const NotificationDetails& details); 61 const NotificationDetails& details);
62 62
63 NotificationRegistrar registrar_; 63 NotificationRegistrar registrar_;
64 64
65 Profile* profile_; 65 Profile* profile_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementEventRouter); 67 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementEventRouter);
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__ 70 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_ui.cc ('k') | chrome/browser/extensions/extension_management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698