blob: 64890efb33da1c4d8440b1033122eb001d5aaf6f [file] [log] [blame]
// 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