diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 07:30:54 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 07:30:54 +0000 |
commit | 81d8a0cf3965baa53329ea68c944aa50c923a4c7 (patch) | |
tree | f559aaedf1b23f1dc210774743cfdba6d521f35e /chrome/browser/chromeos/contacts/gdata_contacts_service.cc | |
parent | e0d6b1f946e5eba6abc2b2264d1fb64451b66b83 (diff) | |
download | chromium_src-81d8a0cf3965baa53329ea68c944aa50c923a4c7.zip chromium_src-81d8a0cf3965baa53329ea68c944aa50c923a4c7.tar.gz chromium_src-81d8a0cf3965baa53329ea68c944aa50c923a4c7.tar.bz2 |
google_apis: Remove GetDriveUserAgent() from base_operations.cc
The user-agent shouldn't be generated there, as the code is
used not only for Drive but also for Contacts, etc.
BUG=151605
TEST=open chrome:net-internals; open Files.app; open Drive; click on a .txt file to fetch it. go to chrome:net-internals. Find the user-agent.
Review URL: https://codereview.chromium.org/11414109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/contacts/gdata_contacts_service.cc')
-rw-r--r-- | chrome/browser/chromeos/contacts/gdata_contacts_service.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc index f498a1e..6dd8182 100644 --- a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc +++ b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc @@ -853,7 +853,9 @@ GDataContactsService::GDataContactsService(Profile* profile) DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); std::vector<std::string> scopes; scopes.push_back(kContactsScope); - runner_.reset(new google_apis::OperationRunner(profile, scopes)); + runner_.reset(new google_apis::OperationRunner(profile, + scopes, + "" /* custom_user_agent */)); } GDataContactsService::~GDataContactsService() { |