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

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

Issue 10170016: Add info about user agent overrides to WebContents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added SessionService saving Created 8 years, 8 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 b5c5a3fdcfe02c2bf881af1df0c3ad12e7db88d3..82ceeddbad152e78b3ceb0f5bc65b7930011fa8c 100644
--- a/chrome/browser/sessions/session_service.h
+++ b/chrome/browser/sessions/session_service.h
@@ -220,6 +220,11 @@ 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