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

Unified Diff: athena/test/base/activity_lifetime_tracker.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
« no previous file with comments | « athena/test/base/DEPS ('k') | athena/test/base/activity_lifetime_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/activity_lifetime_tracker.h
diff --git a/athena/test/base/activity_lifetime_tracker.h b/athena/test/base/activity_lifetime_tracker.h
deleted file mode 100644
index d217893ce7be9623c756583e9813ba64f60c1a0a..0000000000000000000000000000000000000000
--- a/athena/test/base/activity_lifetime_tracker.h
+++ /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.
-
-#ifndef ATHENA_TEST_BASE_ACTIVITY_LIFETIME_TRACKER_H_
-#define ATHENA_TEST_BASE_ACTIVITY_LIFETIME_TRACKER_H_
-
-#include "athena/activity/public/activity_manager_observer.h"
-#include "base/macros.h"
-
-namespace athena {
-class Activity;
-
-// Listens for activities to be started / ended and will return them.
-class ActivityLifetimeTracker : public ActivityManagerObserver {
- public:
- ActivityLifetimeTracker();
- ~ActivityLifetimeTracker() override;
-
- // ActivityManagerObserver:
- void OnActivityStarted(Activity* activity) override;
- void OnActivityEnding(Activity* activity) override;
- void OnActivityOrderChanged() override;
-
- // Returns the newly created activity (if any) and resets its reference.
- Activity* GetNewActivityAndReset();
-
- // Returns a deleted activity (if any) and resets its reference.
- // Note that the pointer is void* since the Activity was deleted when
- // requested.
- void* GetDeletedActivityAndReset();
-
- private:
- // The activity which got created if not nullptr.
- Activity* new_activity_;
-
- // An old activity which got unloaded if not nullptr.
- void* deleted_activity_;
-
- DISALLOW_COPY_AND_ASSIGN(ActivityLifetimeTracker);
-};
-
-} // namespace athena
-
-#endif // ATHENA_TEST_BASE_ACTIVITY_LIFETIME_TRACKER_H_
-
« no previous file with comments | « athena/test/base/DEPS ('k') | athena/test/base/activity_lifetime_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698