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

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: fixed review issues Created 8 years, 3 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
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | webkit/glue/user_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12 matching lines...) Expand all
23 23
24 // Helper function to generate a full user agent string from a short 24 // Helper function to generate a full user agent string from a short
25 // product name. 25 // product name.
26 std::string BuildUserAgentFromProduct(const std::string& product); 26 std::string BuildUserAgentFromProduct(const std::string& product);
27 27
28 // Builds a full user agent string given a string describing the OS and a 28 // Builds a full user agent string given a string describing the OS and a
29 // product name. 29 // product name.
30 std::string BuildUserAgentFromOSAndProduct(const std::string& os_info, 30 std::string BuildUserAgentFromOSAndProduct(const std::string& os_info,
31 const std::string& product); 31 const std::string& product);
32 32
33 std::string BuildUserAgentOverrideForTabletSiteFromProduct(
jamesr 2012/09/07 23:58:30 I don't think you really want a separate entry poi
sschmitz 2012/09/08 00:40:39 I agree. I removed this function from user_agent.h
34 const std::string& product);
35
33 } // namespace webkit_glue 36 } // namespace webkit_glue
34 37
35 #endif // WEBKIT_GLUE_USER_AGENT_H_ 38 #endif // WEBKIT_GLUE_USER_AGENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | webkit/glue/user_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698