Some additional network settings cleanup
[chromium-blink-merge.git] / athena / activity / public / activity_manager_observer.h
blob0c1a51cdf61c91eb5b0ab50e4f12a3dfd7f3c884
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ATHENA_ACTIVITY_PUBLIC_ACTIVITY_MANAGER_OBSERVER_H_
6 #define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_MANAGER_OBSERVER_H_
8 #include "athena/athena_export.h"
10 namespace athena {
12 class Activity;
14 class ATHENA_EXPORT ActivityManagerObserver {
15 public:
16 virtual ~ActivityManagerObserver() {}
18 // Called after an |activity| got created.
19 virtual void OnActivityStarted(Activity* activity) = 0;
21 // Called before an |activity| gets destroyed.
22 virtual void OnActivityEnding(Activity* activity) = 0;
25 } // namespace athena
27 #endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_MANAGER_OBSERVER_H_