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

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: Forgot to initialize bool in constructor; win_rel caught it Created 8 years, 7 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 | « chrome/browser/sessions/base_session_service.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_service.h
diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h
index 781fa9cb71cd12fc768e2fb70f0e5b197b9a446e..f2f4cc16abfbe0f97fa54efd3de6cc594aabb6bf 100644
--- a/chrome/browser/sessions/session_service.h
+++ b/chrome/browser/sessions/session_service.h
@@ -54,7 +54,7 @@ class NavigationEntry;
class SessionService : public BaseSessionService,
public content::NotificationObserver {
friend class SessionRestoreTest;
- friend class SessionServiceTestHelper;
+ friend class SessionServiceTestHelper;
public:
// Used to distinguish an application window from a normal one.
enum AppType {
@@ -221,6 +221,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,
« no previous file with comments | « chrome/browser/sessions/base_session_service.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698