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

Unified Diff: athena/extensions/extension_app_model_builder.cc

Issue 543263002: Move ContentAppModelBuilder to athena/extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS fix Created 6 years, 3 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
« no previous file with comments | « athena/extensions/chrome/DEPS ('k') | athena/extensions/public/extension_app_model_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/extension_app_model_builder.cc
diff --git a/athena/content/content_app_model_builder.cc b/athena/extensions/extension_app_model_builder.cc
similarity index 94%
rename from athena/content/content_app_model_builder.cc
rename to athena/extensions/extension_app_model_builder.cc
index ee5156ae21f24c833ab15b8f04d97528c1476e0d..0aa5c6e9ab54d1002f20f15e5406c4826af94553 100644
--- a/athena/content/content_app_model_builder.cc
+++ b/athena/extensions/extension_app_model_builder.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "athena/content/public/content_app_model_builder.h"
+#include "athena/extensions/public/extension_app_model_builder.h"
#include "athena/activity/public/activity_factory.h"
#include "athena/activity/public/activity_manager.h"
@@ -91,15 +91,15 @@ class AppItem : public app_list::AppListItem {
} // namespace
-ContentAppModelBuilder::ContentAppModelBuilder(
+ExtensionAppModelBuilder::ExtensionAppModelBuilder(
content::BrowserContext* browser_context)
: browser_context_(browser_context) {
}
-ContentAppModelBuilder::~ContentAppModelBuilder() {
+ExtensionAppModelBuilder::~ExtensionAppModelBuilder() {
}
-void ContentAppModelBuilder::PopulateApps(app_list::AppListModel* model) {
+void ExtensionAppModelBuilder::PopulateApps(app_list::AppListModel* model) {
ExtensionsDelegate* bridge = ExtensionsDelegate::Get(browser_context_);
const extensions::ExtensionSet& extensions = bridge->GetInstalledExtensions();
for (extensions::ExtensionSet::const_iterator iter = extensions.begin();
« no previous file with comments | « athena/extensions/chrome/DEPS ('k') | athena/extensions/public/extension_app_model_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698