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

Unified Diff: athena/extensions/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/extension_app_model_builder.cc ('k') | athena/extensions/public/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/extensions_delegate.cc
diff --git a/athena/extensions/extensions_delegate.cc b/athena/extensions/extensions_delegate.cc
deleted file mode 100644
index 823a15940f5bac0b789df719d78f34df7f22c62f..0000000000000000000000000000000000000000
--- a/athena/extensions/extensions_delegate.cc
+++ /dev/null
@@ -1,46 +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 "athena/extensions/athena_constrained_window_views_client.h"
-#include "athena/extensions/athena_javascript_native_dialog_factory.h"
-#include "base/logging.h"
-#include "extensions/components/javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.h"
-
-namespace athena {
-namespace {
-
-ExtensionsDelegate* instance = nullptr;
-
-} // namespace
-
-ExtensionsDelegate::ExtensionsDelegate() {
- InstallConstrainedWindowViewsClient();
- javascript_dialog_extensions_client::InstallClient();
- InstallJavaScriptNativeDialogFactory();
- DCHECK(!instance);
- instance = this;
-}
-
-ExtensionsDelegate::~ExtensionsDelegate() {
- UninstallConstrainedWindowViewsClient();
- DCHECK(instance);
- instance = nullptr;
-}
-
-// static
-ExtensionsDelegate* ExtensionsDelegate::Get(content::BrowserContext* context) {
- DCHECK(instance);
- DCHECK_EQ(context, instance->GetBrowserContext());
- return instance;
-}
-
-// static
-void ExtensionsDelegate::Shutdown() {
- DCHECK(instance);
- delete instance;
-}
-
-} // namespace athena
« no previous file with comments | « athena/extensions/extension_app_model_builder.cc ('k') | athena/extensions/public/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698