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

Unified Diff: athena/content/public/content_app_model_builder.h

Issue 311113005: AppModelBuilder to athena. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: athena/content/public/content_app_model_builder.h
diff --git a/athena/content/public/content_app_model_builder.h b/athena/content/public/content_app_model_builder.h
new file mode 100644
index 0000000000000000000000000000000000000000..85c79998ae350eefbf551093a9bb4da2f4bafe29
--- /dev/null
+++ b/athena/content/public/content_app_model_builder.h
@@ -0,0 +1,32 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ATHENA_CONTENT_PUBLIC_CONTENT_APP_MODEL_BUILDER_H_
+#define ATHENA_CONTENT_PUBLIC_CONTENT_APP_MODEL_BUILDER_H_
+
+#include "athena/home/public/app_model_builder.h"
+#include "base/macros.h"
+
+namespace content {
+class BrowserContext;
+}
+
+namespace athena {
+
+class ATHENA_EXPORT ContentAppModelBuilder : public AppModelBuilder {
+ public:
+ explicit ContentAppModelBuilder(content::BrowserContext* browser_context);
+ virtual ~ContentAppModelBuilder();
+
+ virtual void PopulateApps(app_list::AppListModel* model) OVERRIDE;
+
+ private:
+ content::BrowserContext* browser_context_;
+
+ DISALLOW_COPY_AND_ASSIGN(ContentAppModelBuilder);
+};
+
+} // namespace athena
+
+#endif // ATHENA_CONTENT_PUBLIC_CONTENT_APP_MODEL_BUILDER_H_

Powered by Google App Engine
This is Rietveld 408576698