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

Side by Side Diff: chrome/browser/extensions/api/launcher_page/launcher_page_api.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_API_LAUNCHER_PAGE_LAUNCHER_PAGE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_LAUNCHER_PAGE_LAUNCHER_PAGE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_LAUNCHER_PAGE_LAUNCHER_PAGE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_LAUNCHER_PAGE_LAUNCHER_PAGE_API_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h" 9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 #include "extensions/browser/browser_context_keyed_api_factory.h" 10 #include "extensions/browser/browser_context_keyed_api_factory.h"
11 11
12 namespace app_list { 12 namespace app_list {
13 class AppListSyncableService; 13 class AppListSyncableService;
14 class AppListModel;
15 } 14 }
16 15
17 namespace extensions { 16 namespace extensions {
18 17
19 class LauncherPageAPI : public BrowserContextKeyedAPI { 18 class LauncherPageAPI : public BrowserContextKeyedAPI {
20 public: 19 public:
21 explicit LauncherPageAPI(content::BrowserContext* context); 20 explicit LauncherPageAPI(content::BrowserContext* context);
22 ~LauncherPageAPI() override; 21 ~LauncherPageAPI() override;
23 22
24 app_list::AppListSyncableService* GetService() const; 23 app_list::AppListSyncableService* GetService() const;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 92
94 ResponseAction Run() override; 93 ResponseAction Run() override;
95 94
96 private: 95 private:
97 DISALLOW_COPY_AND_ASSIGN(LauncherPageSetEnabledFunction); 96 DISALLOW_COPY_AND_ASSIGN(LauncherPageSetEnabledFunction);
98 }; 97 };
99 98
100 } // namespace extensions 99 } // namespace extensions
101 100
102 #endif // CHROME_BROWSER_EXTENSIONS_API_LAUNCHER_PAGE_LAUNCHER_PAGE_API_H_ 101 #endif // CHROME_BROWSER_EXTENSIONS_API_LAUNCHER_PAGE_LAUNCHER_PAGE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698