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

Unified Diff: net/disk_cache/simple/simple_index.h

Issue 159173002: Refactor ActivityStatus to not store current activity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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
Index: net/disk_cache/simple/simple_index.h
diff --git a/net/disk_cache/simple/simple_index.h b/net/disk_cache/simple/simple_index.h
index 6c0d81c99a6e52f617bcb6816598ebb22e38bef0..6e0c39557108ea17570f3e0a0ef6f59851efd6b3 100644
--- a/net/disk_cache/simple/simple_index.h
+++ b/net/disk_cache/simple/simple_index.h
@@ -25,7 +25,7 @@
#include "net/base/net_export.h"
#if defined(OS_ANDROID)
-#include "base/android/activity_status.h"
+#include "base/android/application_status_listener.h"
#endif
class Pickle;
@@ -149,9 +149,9 @@ class NET_EXPORT_PRIVATE SimpleIndex
void MergeInitializingSet(scoped_ptr<SimpleIndexLoadResult> load_result);
#if defined(OS_ANDROID)
- void OnActivityStateChange(base::android::ActivityState state);
+ void OnApplicationStateChange(base::android::ApplicationState state);
- scoped_ptr<base::android::ActivityStatus::Listener> activity_status_listener_;
+ scoped_ptr<base::android::ApplicationStatusListener> app_status_listener_;
#endif
// The owner of |this| must ensure the |delegate_| outlives |this|.

Powered by Google App Engine
This is Rietveld 408576698