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

Unified Diff: chrome/browser/ui/tabs/pinned_tab_service.h

Issue 10800031: Remove details from BROWSER_CLOSING and BROWSER_CLOSED notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated logic / comment for pinned tabs Created 8 years, 5 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: chrome/browser/ui/tabs/pinned_tab_service.h
diff --git a/chrome/browser/ui/tabs/pinned_tab_service.h b/chrome/browser/ui/tabs/pinned_tab_service.h
index 99deec3d711edf95e46d2723bf0a0b080a0db078..649248ec0e2e7b00b54156620a1f57c451e78677 100644
--- a/chrome/browser/ui/tabs/pinned_tab_service.h
+++ b/chrome/browser/ui/tabs/pinned_tab_service.h
@@ -21,9 +21,6 @@ class PinnedTabService : public content::NotificationObserver,
explicit PinnedTabService(Profile* profile);
private:
- // Invoked when we're about to exit.
- void GotExit();
-
// content::NotificationObserver.
virtual void Observe(int type,
const content::NotificationSource& source,
@@ -31,9 +28,9 @@ class PinnedTabService : public content::NotificationObserver,
Profile* profile_;
- // If true we've seen an exit event (or the last browser is closing which
- // triggers an exit) and can ignore all other events.
- bool got_exiting_;
+ // True if we should save the pinned tabs when a browser window closes or the
+ // user exits the application.
+ bool save_pinned_tabs_;
// True if there is at least one normal browser for our profile.
bool has_normal_browser_;

Powered by Google App Engine
This is Rietveld 408576698