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

Unified Diff: extensions/browser/app_window/apps_client.cc

Issue 583583008: Rename AppsClient -> AppWindowClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a bit more naming 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 | « extensions/browser/app_window/apps_client.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/apps_client.cc
diff --git a/extensions/browser/app_window/apps_client.cc b/extensions/browser/app_window/apps_client.cc
deleted file mode 100644
index e520a2e203c3f9d137ccaeaedd1911bd1f0bfb8a..0000000000000000000000000000000000000000
--- a/extensions/browser/app_window/apps_client.cc
+++ /dev/null
@@ -1,29 +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 "extensions/browser/app_window/apps_client.h"
-
-#include "base/basictypes.h"
-
-namespace extensions {
-
-namespace {
-
-AppsClient* g_client = NULL;
-
-} // namespace
-
-AppsClient* AppsClient::Get() {
- return g_client;
-}
-
-void AppsClient::Set(AppsClient* client) {
- // This can happen in unit tests, where the utility thread runs in-process.
- if (g_client)
- return;
-
- g_client = client;
-}
-
-} // namespace extensions
« no previous file with comments | « extensions/browser/app_window/apps_client.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698