Index: content/common/user_agent_internal.h |
diff --git a/webkit/common/user_agent/user_agent.h b/content/common/user_agent_internal.h |
similarity index 33% |
rename from webkit/common/user_agent/user_agent.h |
rename to content/common/user_agent_internal.h |
index 849f5c35ef90e202e1f05cb2b19f120bd9f861b2..158cadff858f6462260b0865c87c05bbe0e56f5e 100644 |
--- a/webkit/common/user_agent/user_agent.h |
+++ b/content/common/user_agent_internal.h |
@@ -1,29 +1,20 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WEBKIT_COMMON_USER_AGENT_USER_AGENT_H_ |
-#define WEBKIT_COMMON_USER_AGENT_USER_AGENT_H_ |
+#ifndef CONTENT_COMMON_USER_AGENT_INTERNAL_H_ |
+#define CONTENT_COMMON_USER_AGENT_INTERNAL_H_ |
#include <string> |
-#include "base/basictypes.h" |
-#include "url/gurl.h" |
-#include "webkit/common/user_agent/webkit_user_agent_export.h" |
- |
-namespace webkit_glue { |
+namespace content { |
// Sets the user agent. Pass true for overriding if this is a custom |
// user agent instead of the default one (in order to turn off any browser |
// sniffing workarounds). This must be called before GetUserAgent() can |
// be called. |
-WEBKIT_USER_AGENT_EXPORT void SetUserAgent(const std::string& user_agent, |
- bool overriding); |
- |
-// Returns the user agent to use for the given URL. SetUserAgent() must |
-// be called prior to calling this function. |
-WEBKIT_USER_AGENT_EXPORT const std::string& GetUserAgent(const GURL& url); |
+void SetUserAgent(const std::string& user_agent, bool overriding); |
jam
2014/03/05 00:09:26
so looking at the callsites for this, I think we c
|
-} // namespace webkit_glue |
+} // namespace content |
-#endif // WEBKIT_COMMON_USER_AGENT_USER_AGENT_H_ |
+#endif // CONTENT_COMMON_USER_AGENT_INTERNAL_H_ |