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

Unified Diff: athena/activity/activity_factory.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/activity/activity.cc ('k') | athena/activity/activity_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_factory.cc
diff --git a/athena/activity/activity_factory.cc b/athena/activity/activity_factory.cc
deleted file mode 100644
index dbaa77d49e5f6d84f3fa3b22d9aff05f2c586129..0000000000000000000000000000000000000000
--- a/athena/activity/activity_factory.cc
+++ /dev/null
@@ -1,35 +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/activity/public/activity_factory.h"
-
-#include "base/logging.h"
-
-namespace athena {
-
-namespace {
-
-ActivityFactory* instance = nullptr;
-}
-
-// static
-void ActivityFactory::RegisterActivityFactory(ActivityFactory* factory) {
- DCHECK(!instance);
- instance = factory;
-}
-
-// static
-ActivityFactory* ActivityFactory::Get() {
- DCHECK(instance);
- return instance;
-}
-
-// static
-void ActivityFactory::Shutdown() {
- DCHECK(instance);
- delete instance;
- instance = nullptr;
-}
-
-} // namespace athena
« no previous file with comments | « athena/activity/activity.cc ('k') | athena/activity/activity_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698