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

Side by Side Diff: content/public/browser/navigation_entry.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual const FaviconStatus& GetFavicon() const = 0; 135 virtual const FaviconStatus& GetFavicon() const = 0;
136 virtual FaviconStatus& GetFavicon() = 0; 136 virtual FaviconStatus& GetFavicon() = 0;
137 137
138 // All the SSL flags and state. See content::SSLStatus. 138 // All the SSL flags and state. See content::SSLStatus.
139 virtual const SSLStatus& GetSSL() const = 0; 139 virtual const SSLStatus& GetSSL() const = 0;
140 virtual SSLStatus& GetSSL() = 0; 140 virtual SSLStatus& GetSSL() = 0;
141 141
142 // Store the URL that caused this NavigationEntry to be created. 142 // Store the URL that caused this NavigationEntry to be created.
143 virtual void SetOriginalRequestURL(const GURL& original_url) = 0; 143 virtual void SetOriginalRequestURL(const GURL& original_url) = 0;
144 virtual const GURL& GetOriginalRequestURL() const = 0; 144 virtual const GURL& GetOriginalRequestURL() const = 0;
145
146 // Store whether or not we're overriding the user agent.
147 virtual void SetIsOverridingUserAgent(bool override) = 0;
148 virtual bool GetIsOverridingUserAgent() const = 0;
145 }; 149 };
146 150
147 } // namespace content 151 } // namespace content
148 152
149 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 153 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698