blob: 64890efb33da1c4d8440b1033122eb001d5aaf6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (c) 2010 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.
#include "webkit/glue/user_agent.h"
#include "webkit/glue/webkit_glue.h"
#include "chrome/common/chrome_version_info.h"
class GURL;
bool IsPluginProcess() {
return false;
}
namespace webkit_glue {
bool FindProxyForUrl(const GURL& url, std::string* proxy_list) {
return false;
}
std::string BuildUserAgent(bool mimic_windows) {
chrome::VersionInfo version_info;
std::string product("Chrome/");
product += version_info.is_valid() ? version_info.Version()
: "0.0.0.0";
return webkit_glue::BuildUserAgentHelper(mimic_windows, product);
}
} // end namespace webkit_glue
|