diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-10 16:26:13 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-10 16:26:13 +0000 |
commit | 011cfa50e124a8c871031b47415efd6c961c6378 (patch) | |
tree | c8be3c7757351de4b5cc2f4a0bb280440fff040e | |
parent | 395a2484377adc4a4613e66e7dc39510b099507d (diff) | |
download | chromium_src-011cfa50e124a8c871031b47415efd6c961c6378.zip chromium_src-011cfa50e124a8c871031b47415efd6c961c6378.tar.gz chromium_src-011cfa50e124a8c871031b47415efd6c961c6378.tar.bz2 |
Change geolocaiton browser name in official builds
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/9123009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121457 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/browser/geolocation/network_location_request.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/content/browser/geolocation/network_location_request.cc b/content/browser/geolocation/network_location_request.cc index 5bca6ff..6ffcb22 100644 --- a/content/browser/geolocation/network_location_request.cc +++ b/content/browser/geolocation/network_location_request.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -150,7 +150,12 @@ GURL FormRequestURL(const std::string& url, } std::vector<std::string> params; +#if defined(GOOGLE_CHROME_BUILD) + params.push_back("browser=googlechrome"); +#else params.push_back("browser=chromium"); +#endif + params.push_back("sensor=true"); if (!access_token.empty()) params.push_back("token=" + UTF16ToUTF8(access_token)); |