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

Side by Side Diff: chrome_frame/renderer_glue.cc

Issue 7791005: Stop using the default profile's proxy service for plugin proxy requests, and instead use the ass... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix test Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/plugin_process_host.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "webkit/glue/user_agent.h" 5 #include "webkit/glue/user_agent.h"
6 #include "webkit/glue/webkit_glue.h" 6 #include "webkit/glue/webkit_glue.h"
7 7
8 #include "chrome/common/chrome_version_info.h" 8 #include "chrome/common/chrome_version_info.h"
9 9
10 class GURL; 10 class GURL;
11 11
12 bool IsPluginProcess() { 12 bool IsPluginProcess() {
13 return false; 13 return false;
14 } 14 }
15 15
16 namespace webkit_glue { 16 namespace webkit_glue {
17 17
18 bool FindProxyForUrl(const GURL& url, std::string* proxy_list) {
19 return false;
20 }
21
22 std::string BuildUserAgent(bool mimic_windows) { 18 std::string BuildUserAgent(bool mimic_windows) {
23 chrome::VersionInfo version_info; 19 chrome::VersionInfo version_info;
24 std::string product("Chrome/"); 20 std::string product("Chrome/");
25 product += version_info.is_valid() ? version_info.Version() 21 product += version_info.is_valid() ? version_info.Version()
26 : "0.0.0.0"; 22 : "0.0.0.0";
27 return webkit_glue::BuildUserAgentHelper(mimic_windows, product); 23 return webkit_glue::BuildUserAgentHelper(mimic_windows, product);
28 } 24 }
29 25
30 } // end namespace webkit_glue 26 } // end namespace webkit_glue
OLDNEW
« no previous file with comments | « no previous file | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698