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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CHROME_EXTENSION_TEST_NOTIFICATION_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_TEST_NOTIFICATION_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_TEST_NOTIFICATION_OBSERVER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_TEST_NOTIFICATION_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h" 11 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h"
12 #include "extensions/test/extension_test_notification_observer.h" 12 #include "extensions/test/extension_test_notification_observer.h"
13 13
14 class Browser; 14 class Browser;
15 15
16 namespace content { 16 namespace content {
17 class BrowserContext; 17 class BrowserContext;
18 class WindowedNotificationObserver;
19 } 18 }
20 19
21 // Test helper class for observing extension-related events. 20 // Test helper class for observing extension-related events.
22 // TODO(devlin): This should be in the extensions namespace. 21 // TODO(devlin): This should be in the extensions namespace.
23 class ChromeExtensionTestNotificationObserver 22 class ChromeExtensionTestNotificationObserver
24 : public ExtensionTestNotificationObserver, 23 : public ExtensionTestNotificationObserver,
25 public extensions::ExtensionActionAPI::Observer { 24 public extensions::ExtensionActionAPI::Observer {
26 public: 25 public:
27 explicit ChromeExtensionTestNotificationObserver(Browser* browser); 26 explicit ChromeExtensionTestNotificationObserver(Browser* browser);
28 ~ChromeExtensionTestNotificationObserver() override; 27 ~ChromeExtensionTestNotificationObserver() override;
(...skipping 18 matching lines...) Expand all
47 46
48 // extensions::ExtensionActionAPI::Observer: 47 // extensions::ExtensionActionAPI::Observer:
49 void OnPageActionsUpdated(content::WebContents* contents) override; 48 void OnPageActionsUpdated(content::WebContents* contents) override;
50 49
51 Browser* browser_; 50 Browser* browser_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionTestNotificationObserver); 52 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionTestNotificationObserver);
54 }; 53 };
55 54
56 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_TEST_NOTIFICATION_OBSERVER _H_ 55 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_TEST_NOTIFICATION_OBSERVER _H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/chrome_app_sorting.h ('k') | chrome/browser/extensions/chrome_extensions_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698