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

Unified Diff: athena/extensions/test/test_extensions_delegate.cc

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
« no previous file with comments | « athena/extensions/shell/url_search_provider.cc ('k') | athena/home/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/test/test_extensions_delegate.cc
diff --git a/athena/extensions/test/test_extensions_delegate.cc b/athena/extensions/test/test_extensions_delegate.cc
deleted file mode 100644
index bb0c1b58daa3a61688b1bc83c81b4917129d2ce8..0000000000000000000000000000000000000000
--- a/athena/extensions/test/test_extensions_delegate.cc
+++ /dev/null
@@ -1,47 +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.
-
-#include "athena/extensions/public/extensions_delegate.h"
-#include "base/macros.h"
-#include "extensions/browser/install/extension_install_ui.h"
-#include "extensions/common/extension_set.h"
-
-namespace athena {
-namespace {
-
-class TestExtensionsDelegate : public ExtensionsDelegate {
- public:
- TestExtensionsDelegate() {}
-
- ~TestExtensionsDelegate() override {}
-
- private:
- // ExtensionsDelegate:
- content::BrowserContext* GetBrowserContext() const override {
- return nullptr;
- }
- const extensions::ExtensionSet& GetInstalledExtensions() override {
- return shell_extensions_;
- }
- bool LaunchApp(const std::string& app_id) override { return true; }
- bool UnloadApp(const std::string& app_id) override { return false; }
-
- scoped_ptr<extensions::ExtensionInstallUI> CreateExtensionInstallUI()
- override {
- return scoped_ptr<extensions::ExtensionInstallUI>();
- }
-
- extensions::ExtensionSet shell_extensions_;
-
- DISALLOW_COPY_AND_ASSIGN(TestExtensionsDelegate);
-};
-
-} // namespace
-
-// static
-void ExtensionsDelegate::CreateExtensionsDelegateForTest() {
- new TestExtensionsDelegate();
-}
-
-} // namespace athena
« no previous file with comments | « athena/extensions/shell/url_search_provider.cc ('k') | athena/home/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698