OLD | NEW |
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 ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_ | 5 #ifndef ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_ |
6 #define ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_ | 6 #define ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_ |
7 | 7 |
8 #include "athena/home/public/app_model_builder.h" | 8 #include "athena/home/public/app_model_builder.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 class BrowserContext; | 12 class BrowserContext; |
13 } | 13 } |
14 | 14 |
15 namespace athena { | 15 namespace athena { |
16 | 16 |
17 class ATHENA_EXPORT ExtensionAppModelBuilder : public AppModelBuilder { | 17 class ATHENA_EXPORT ExtensionAppModelBuilder : public AppModelBuilder { |
18 public: | 18 public: |
19 explicit ExtensionAppModelBuilder(content::BrowserContext* browser_context); | 19 explicit ExtensionAppModelBuilder(content::BrowserContext* browser_context); |
20 virtual ~ExtensionAppModelBuilder(); | 20 virtual ~ExtensionAppModelBuilder(); |
21 | 21 |
22 virtual void PopulateApps(app_list::AppListModel* model) OVERRIDE; | 22 virtual void PopulateApps(app_list::AppListModel* model) override; |
23 | 23 |
24 private: | 24 private: |
25 content::BrowserContext* browser_context_; | 25 content::BrowserContext* browser_context_; |
26 | 26 |
27 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); | 27 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); |
28 }; | 28 }; |
29 | 29 |
30 } // namespace athena | 30 } // namespace athena |
31 | 31 |
32 #endif // ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_ | 32 #endif // ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_ |
OLD | NEW |