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

Unified Diff: chrome/browser/android/recently_closed_tabs_bridge.h

Issue 1350653004: [sessions] Properly namespace recently-componentized TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac Created 5 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 | « no previous file | chrome/browser/android/recently_closed_tabs_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/recently_closed_tabs_bridge.h
diff --git a/chrome/browser/android/recently_closed_tabs_bridge.h b/chrome/browser/android/recently_closed_tabs_bridge.h
index 30c4c925388bd2d079a662e7d1ff070849d92afa..f223c7f93221f332a4e2a461f176b320276fea2c 100644
--- a/chrome/browser/android/recently_closed_tabs_bridge.h
+++ b/chrome/browser/android/recently_closed_tabs_bridge.h
@@ -12,10 +12,9 @@
#include "components/sessions/core/tab_restore_service_observer.h"
class Profile;
-class TabRestoreService;
// Provides the list of recently closed tabs to Java.
-class RecentlyClosedTabsBridge : public TabRestoreServiceObserver {
+class RecentlyClosedTabsBridge : public sessions::TabRestoreServiceObserver {
public:
explicit RecentlyClosedTabsBridge(Profile* profile);
@@ -34,10 +33,11 @@ class RecentlyClosedTabsBridge : public TabRestoreServiceObserver {
// Observer callback for TabRestoreServiceObserver. Notifies the registered
// callback that the recently closed tabs list has changed.
- void TabRestoreServiceChanged(TabRestoreService* service) override;
+ void TabRestoreServiceChanged(sessions::TabRestoreService* service) override;
// Observer callback when our associated TabRestoreService is destroyed.
- void TabRestoreServiceDestroyed(TabRestoreService* service) override;
+ void TabRestoreServiceDestroyed(
+ sessions::TabRestoreService* service) override;
// Registers JNI methods.
static bool Register(JNIEnv* env);
@@ -56,7 +56,7 @@ class RecentlyClosedTabsBridge : public TabRestoreServiceObserver {
Profile* profile_;
// TabRestoreService that we are observing.
- TabRestoreService* tab_restore_service_;
+ sessions::TabRestoreService* tab_restore_service_;
DISALLOW_COPY_AND_ASSIGN(RecentlyClosedTabsBridge);
};
« no previous file with comments | « no previous file | chrome/browser/android/recently_closed_tabs_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698