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

Unified Diff: ios/web/public/user_agent.h

Issue 364853010: Move the iOS user agent functions to ios/web/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: ios/web/public/user_agent.h
diff --git a/ios/web/public/user_agent.h b/ios/web/public/user_agent.h
new file mode 100644
index 0000000000000000000000000000000000000000..8b97874b751027976e43fcde69bb207deeae7cc1
--- /dev/null
+++ b/ios/web/public/user_agent.h
@@ -0,0 +1,19 @@
+// 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 IOS_WEB_PUBLIC_USER_AGENT_H_
+#define IOS_WEB_PUBLIC_USER_AGENT_H_
+
+#include <string>
+
+namespace web {
+
+// Helper function to generate a full user agent string from a short
+// product name.
stuartmorgan 2014/07/07 18:43:57 Replace with: // Returns the user agent to use for
rohitrao (ping after 24h) 2014/07/07 18:57:05 Done.
+std::string BuildUserAgentFromProduct(
+ const std::string& product);
+
+} // namespace web
+
+#endif // IOS_WEB_PUBLIC_USER_AGENT_H_

Powered by Google App Engine
This is Rietveld 408576698