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

Unified Diff: chrome/browser/net/chrome_url_request_context.cc

Issue 8234013: Add a content::GetUserAgent() to wrap webkit_glue::GetUserAgent() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clarify requirements around GetUserAgent Created 9 years, 2 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/io_thread.cc ('k') | chrome/browser/policy/device_management_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.cc
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index ab8da99ce8f6a65f334d7cfb24aeadd30fca9a16..b833abd64e7a0d17911818ba245cee2536b3b3de 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -16,10 +16,10 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/pref_names.h"
#include "content/browser/browser_thread.h"
+#include "content/common/content_client.h"
#include "content/common/notification_service.h"
#include "net/base/cookie_store.h"
#include "net/http/http_util.h"
-#include "webkit/glue/webkit_glue.h"
class ChromeURLRequestContextFactory {
public:
@@ -367,7 +367,7 @@ ChromeURLRequestContext::~ChromeURLRequestContext() {
const std::string& ChromeURLRequestContext::GetUserAgent(
const GURL& url) const {
- return webkit_glue::GetUserAgent(url);
+ return content::GetUserAgent(url);
}
void ChromeURLRequestContext::OnAcceptLanguageChange(
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/policy/device_management_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698