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

Side by Side Diff: webkit/glue/user_agent.h

Issue 10827146: crbug.com/127841 - Request Tablet Site on CB with touch screen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: removed spurious whitespace differences wrt master Created 8 years, 4 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 WEBKIT_GLUE_USER_AGENT_H_ 5 #ifndef WEBKIT_GLUE_USER_AGENT_H_
6 #define WEBKIT_GLUE_USER_AGENT_H_ 6 #define WEBKIT_GLUE_USER_AGENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 14 matching lines...) Expand all
25 // Sets the OS component of the user agent (e.g. "4.0.4; Galaxy Nexus 25 // Sets the OS component of the user agent (e.g. "4.0.4; Galaxy Nexus
26 // BUILD/IMM76K") 26 // BUILD/IMM76K")
27 // TODO(yfriedman): Remove this ASAP (http://crbug.com/131312) 27 // TODO(yfriedman): Remove this ASAP (http://crbug.com/131312)
28 void SetUserAgentOSInfo(const std::string& os_info); 28 void SetUserAgentOSInfo(const std::string& os_info);
29 #endif 29 #endif
30 30
31 // Helper function to generate a full user agent string from a short 31 // Helper function to generate a full user agent string from a short
32 // product name. 32 // product name.
33 std::string BuildUserAgentFromProduct(const std::string& product); 33 std::string BuildUserAgentFromProduct(const std::string& product);
34 34
35 std::string BuildUserAgentOverrideForTabletSiteFromUserAgent(
gone 2012/08/03 00:08:26 Add comment describing function.
sschmitz 2012/08/03 15:36:58 Done.
36 const std::string& user_agent);
37
35 } // namespace webkit_glue 38 } // namespace webkit_glue
36 39
37 #endif // WEBKIT_GLUE_USER_AGENT_H_ 40 #endif // WEBKIT_GLUE_USER_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698