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

Unified Diff: athena/extensions/public/extension_app_model_builder.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/extensions/public/extension_app_model_builder.h
diff --git a/athena/extensions/public/extension_app_model_builder.h b/athena/extensions/public/extension_app_model_builder.h
deleted file mode 100644
index ec6f945ce08f423954ae5d4727f711adc9081596..0000000000000000000000000000000000000000
--- a/athena/extensions/public/extension_app_model_builder.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// 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_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_
-#define ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_
-
-#include "athena/home/public/app_model_builder.h"
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "extensions/browser/extension_registry_observer.h"
-
-namespace content {
-class BrowserContext;
-}
-
-namespace extensions {
-class Extension;
-}
-
-namespace athena {
-
-class ATHENA_EXPORT ExtensionAppModelBuilder
- : public AppModelBuilder,
- public extensions::ExtensionRegistryObserver {
- public:
- explicit ExtensionAppModelBuilder(content::BrowserContext* browser_context);
- ~ExtensionAppModelBuilder() override;
-
- void RegisterAppListModel(app_list::AppListModel* model) override;
-
- private:
- void AddItem(scoped_refptr<const extensions::Extension> extension);
-
- // extensions::ExtensionRegistryObserver:
- void OnExtensionInstalled(content::BrowserContext* browser_context,
- const extensions::Extension* extension,
- bool is_update) override;
- void OnExtensionUninstalled(content::BrowserContext* browser_context,
- const extensions::Extension* extension,
- extensions::UninstallReason reason) override;
-
- content::BrowserContext* browser_context_;
-
- // Unowned pointer to the app list model.
- app_list::AppListModel* model_;
-
- DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder);
-};
-
-} // namespace athena
-
-#endif // ATHENA_EXTENSIONS_PUBLIC_EXTENSION_APP_MODEL_BUILDER_H_
« no previous file with comments | « athena/extensions/public/apps_search_controller_factory.h ('k') | athena/extensions/public/extensions_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698