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

Issue 18742002: Remove direct reference to GetBlockingPool() in c/b/google_apis. (Closed)

Created:
7 years, 5 months ago by kinaba
Modified:
7 years, 5 months ago
Reviewers:
satorux1
CC:
chromium-reviews, nkostylev+watch_chromium.org, derat+watch_chromium.org, tfarina, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove direct reference to GetBlockingPool() in c/b/google_apis. Instead, a task runner is injected from the upper layer. This is for removing the dependency to content/ from c/b/google_apis/ and moving the directory content to the top level google_apis/. BUG=256112 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210352

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review fix + rebase. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -36 lines) Patch
M chrome/browser/chromeos/contacts/gdata_contacts_service.cc View 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/drive/drive_api_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/drive/gdata_wapi_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/google_apis/base_requests.h View 1 5 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/google_apis/base_requests.cc View 8 chunks +15 lines, -9 lines 0 comments Download
M chrome/browser/google_apis/base_requests_server_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/google_apis/base_requests_unittest.cc View 3 chunks +5 lines, -2 lines 1 comment Download
M chrome/browser/google_apis/drive_api_requests_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_requests.cc View 5 chunks +18 lines, -11 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_requests_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/google_apis/request_sender.h View 1 6 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/request_sender.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kinaba
Please take a look.
7 years, 5 months ago (2013-07-05 04:22:22 UTC) #1
satorux1
LGTM with nits. sorry for the belated response. https://codereview.chromium.org/18742002/diff/1/chrome/browser/google_apis/base_requests.h File chrome/browser/google_apis/base_requests.h (right): https://codereview.chromium.org/18742002/diff/1/chrome/browser/google_apis/base_requests.h#newcode213 chrome/browser/google_apis/base_requests.h:213: // ...
7 years, 5 months ago (2013-07-08 01:30:07 UTC) #2
kinaba
https://codereview.chromium.org/18742002/diff/1/chrome/browser/google_apis/base_requests.h File chrome/browser/google_apis/base_requests.h (right): https://codereview.chromium.org/18742002/diff/1/chrome/browser/google_apis/base_requests.h#newcode213 chrome/browser/google_apis/base_requests.h:213: // |callback| must not be null. On 2013/07/08 01:30:07, ...
7 years, 5 months ago (2013-07-08 03:12:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/18742002/10001
7 years, 5 months ago (2013-07-08 03:19:19 UTC) #4
satorux1
BTW, can you remove the following from DEPS? # BrowserThread should be gone: crbug.com/256112 "!content/public/browser/browser_thread.h",
7 years, 5 months ago (2013-07-08 03:52:04 UTC) #5
satorux1
hmm, maybe not bacause of google_apis::test_util::RunBlockingPoolTask(). we should probably move this to c/b/chromeos/drive.
7 years, 5 months ago (2013-07-08 03:53:29 UTC) #6
satorux1
https://codereview.chromium.org/18742002/diff/10001/chrome/browser/google_apis/base_requests_unittest.cc File chrome/browser/google_apis/base_requests_unittest.cc (right): https://codereview.chromium.org/18742002/diff/10001/chrome/browser/google_apis/base_requests_unittest.cc#newcode66 chrome/browser/google_apis/base_requests_unittest.cc:66: test_util::RunBlockingPoolTask(); this looks unnecessary?
7 years, 5 months ago (2013-07-08 03:54:22 UTC) #7
kinaba
On 2013/07/08 03:53:29, satorux1 wrote: > hmm, maybe not bacause of google_apis::test_util::RunBlockingPoolTask(). we > should ...
7 years, 5 months ago (2013-07-08 03:57:06 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-08 06:58:54 UTC) #9
Message was sent while issue was closed.
Change committed as 210352

Powered by Google App Engine
This is Rietveld 408576698