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

Issue 10963038: drive: Set a custom User-Agent header for Drive operations (Closed)

Created:
8 years, 3 months ago by satorux1
Modified:
8 years, 3 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews
Visibility:
Public.

Description

drive: Set a custom User-Agent header for Drive operations This allows the Drive backend to distinguish our client and process statistics nicely. This patch introduces two known issues (crbug.com/151605), which will be fixed at a later time. This patch is made small so we can merge it to M23 branch safely. BUG=150028 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 c Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=158103

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M chrome/browser/google_apis/DEPS View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/operations_base.cc View 1 4 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
satorux1
8 years, 3 months ago (2012-09-21 19:53:05 UTC) #1
Daniel Erat
lgtm https://codereview.chromium.org/10963038/diff/1/chrome/browser/google_apis/operations_base.cc File chrome/browser/google_apis/operations_base.cc (right): https://codereview.chromium.org/10963038/diff/1/chrome/browser/google_apis/operations_base.cc#newcode83 chrome/browser/google_apis/operations_base.cc:83: const std::string library = "chrome-cc/none"; nit: use const ...
8 years, 3 months ago (2012-09-21 21:11:12 UTC) #2
satorux1
8 years, 3 months ago (2012-09-21 22:41:22 UTC) #3
http://codereview.chromium.org/10963038/diff/1/chrome/browser/google_apis/ope...
File chrome/browser/google_apis/operations_base.cc (right):

http://codereview.chromium.org/10963038/diff/1/chrome/browser/google_apis/ope...
chrome/browser/google_apis/operations_base.cc:83: const std::string library =
"chrome-cc/none";
On 2012/09/21 21:11:12, Daniel Erat wrote:
> nit: use const char kLibraryName[] here?

Done.

Powered by Google App Engine
This is Rietveld 408576698