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

Unified Diff: chrome/browser/sessions/session_service.h

Issue 10827168: Fix user agent override restore pipeline (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit addressing Created 8 years, 4 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/sessions/session_service.h
diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h
index f40ad3ab875c59a973325d3c2ad03fe231ba7421..74512c4d7d8750ec4e7d54905b101a1e4c462d34 100644
--- a/chrome/browser/sessions/session_service.h
+++ b/chrome/browser/sessions/session_service.h
@@ -165,6 +165,11 @@ class SessionService : public BaseSessionService,
// Sets the index of the selected tab in the specified window.
void SetSelectedTabInWindow(const SessionID& window_id, int index);
+ // Sets the user agent override of the specified tab.
+ void SetTabUserAgentOverride(const SessionID& window_id,
+ const SessionID& tab_id,
+ const std::string& user_agent_override);
+
// Callback from GetSavedSession of GetLastSession.
//
// The contents of the supplied vector are deleted after the callback is
@@ -219,11 +224,6 @@ class SessionService : public BaseSessionService,
const SessionID& tab_id,
const std::string& extension_app_id);
- // Sets the user agent override of the specified tab.
- void SetTabUserAgentOverride(const SessionID& window_id,
- const SessionID& tab_id,
- const std::string& user_agent_override);
-
// Methods to create the various commands. It is up to the caller to delete
// the returned the SessionCommand* object.
SessionCommand* CreateSetSelectedTabInWindow(const SessionID& window_id,

Powered by Google App Engine
This is Rietveld 408576698