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