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

Issue 11804004: Add base_url to DriveApiUrlGenerator. (Closed)

Created:
7 years, 11 months ago by hidehiko
Modified:
7 years, 11 months ago
Reviewers:
satorux1, kinaba
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add base_url to DriveApiUrlGenerator. This is preparation for injecting server path to the drive api operations. Its main usage is injecting local test server for unittests of classes in drive_api_operations.{cc, h} (will be done in following CLs). To share the testing utility GetBaseUrlForTesting, it is moved into test_util. BUG=162155 TEST=Ran unit_tests and chromeos_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175774

Patch Set 1 #

Total comments: 4

Patch Set 2 : Introduce kBaseUrlForProduction in DriveApiUrlGenerator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -39 lines) Patch
M chrome/browser/chromeos/drive/drive_api_service.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_api_service.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_system_service.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/google_apis/drive_api_url_generator.h View 1 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/google_apis/drive_api_url_generator.cc View 1 4 chunks +22 lines, -19 lines 0 comments Download
M chrome/browser/google_apis/drive_api_url_generator_unittest.cc View 1 5 chunks +30 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_operations_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/google_apis/gdata_wapi_url_generator.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_url_generator.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_url_generator_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/google_apis/test_util.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/test_util.cc View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
hidehiko
Thank you for your review in advance, - hidehiko
7 years, 11 months ago (2013-01-08 15:43:48 UTC) #1
satorux1
https://codereview.chromium.org/11804004/diff/1/chrome/browser/chromeos/drive/drive_system_service.cc File chrome/browser/chromeos/drive/drive_system_service.cc (right): https://codereview.chromium.org/11804004/diff/1/chrome/browser/chromeos/drive/drive_system_service.cc#newcode127 chrome/browser/chromeos/drive/drive_system_service.cc:127: GURL(), Empty URL looks cryptic. See below for what ...
7 years, 11 months ago (2013-01-09 00:19:53 UTC) #2
hidehiko
Could you take another look? https://codereview.chromium.org/11804004/diff/1/chrome/browser/chromeos/drive/drive_system_service.cc File chrome/browser/chromeos/drive/drive_system_service.cc (right): https://codereview.chromium.org/11804004/diff/1/chrome/browser/chromeos/drive/drive_system_service.cc#newcode127 chrome/browser/chromeos/drive/drive_system_service.cc:127: GURL(), On 2013/01/09 00:19:53, ...
7 years, 11 months ago (2013-01-09 04:47:36 UTC) #3
satorux1
LGTM
7 years, 11 months ago (2013-01-09 04:49:11 UTC) #4
kinaba
lgtm
7 years, 11 months ago (2013-01-09 05:12:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/11804004/6001
7 years, 11 months ago (2013-01-09 05:20:52 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_aura for step(s) content_browsertests
7 years, 11 months ago (2013-01-09 09:00:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/11804004/6001
7 years, 11 months ago (2013-01-09 09:05:38 UTC) #8
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 10:56:12 UTC) #9
Message was sent while issue was closed.
Change committed as 175774

Powered by Google App Engine
This is Rietveld 408576698