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

Side by Side Diff: chrome_frame/renderer_glue.cc

Issue 6682033: Move plugin messages to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
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 "chrome/common/chrome_version_info.h" 5 #include "chrome/common/chrome_version_info.h"
6 6
7 class GURL;
8
9 bool IsPluginProcess() {
10 return false;
11 }
12
7 namespace webkit_glue { 13 namespace webkit_glue {
8 14
9 void AppendToLog(const char* filename, int line, const char* message) { 15 void AppendToLog(const char* filename, int line, const char* message) {
10 } 16 }
11 17
12 bool IsPluginRunningInRendererProcess() { 18 bool IsDefaultPluginEnabled() {
13 return true; 19 return false;
20 }
21
22 bool FindProxyForUrl(const GURL& url, std::string* proxy_list) {
23 return false;
14 } 24 }
15 25
16 // This function is called from BuildUserAgent so we have our own version 26 // This function is called from BuildUserAgent so we have our own version
17 // here instead of pulling in the whole renderer lib where this function 27 // here instead of pulling in the whole renderer lib where this function
18 // is implemented for Chrome. 28 // is implemented for Chrome.
19 std::string GetProductVersion() { 29 std::string GetProductVersion() {
20 chrome::VersionInfo version_info; 30 chrome::VersionInfo version_info;
21 std::string product("Chrome/"); 31 std::string product("Chrome/");
22 product += version_info.is_valid() ? version_info.Version() 32 product += version_info.is_valid() ? version_info.Version()
23 : "0.0.0.0"; 33 : "0.0.0.0";
24 return product; 34 return product;
25 } 35 }
26 36
27 } // end namespace webkit_glue 37 } // end namespace webkit_glue
28
OLDNEW
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698