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

Issue 23523022: Replace GetForProfile by Get{FileSystem,DriveAppRegistry,DriveService)ByProfile. (Closed)

Created:
7 years, 3 months ago by hidehiko
Modified:
7 years, 3 months ago
Reviewers:
satorux1, kinaba
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, tfarina, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Replace GetForProfile by Get{FileSystem,DriveAppRegistry,DriveService)ByProfile. This is preparation to start returning DriveIntegrationService always from DriveIntegrationServiceFactory::{Get,Find}ForProfile. BUG=284972 TEST=Ran unit_tests R=kinaba@chromium.org, satorux@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221356

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -97 lines) Patch
M chrome/browser/chromeos/drive/download_handler.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system_util.h View 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system_util.cc View 1 7 chunks +39 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc View 1 2 3 4 16 chunks +59 lines, -54 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc View 1 2 3 4 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc View 1 2 3 4 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_util.cc View 1 2 3 4 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/file_manager/file_tasks.cc View 1 2 3 4 2 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/file_manager/open_with_browser.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
hidehiko
Thank you for your review in advance, - hidehiko
7 years, 3 months ago (2013-09-04 08:16:56 UTC) #1
kinaba
lgtm https://codereview.chromium.org/23523022/diff/1/chrome/browser/chromeos/drive/file_system_util.cc File chrome/browser/chromeos/drive/file_system_util.cc (right): https://codereview.chromium.org/23523022/diff/1/chrome/browser/chromeos/drive/file_system_util.cc#newcode141 chrome/browser/chromeos/drive/file_system_util.cc:141: DriveIntegrationServiceFactory::GetForProfile(profile); How about implementing (as an anonymous-namespace private ...
7 years, 3 months ago (2013-09-04 08:57:42 UTC) #2
hidehiko
Thank you for your quick review! https://codereview.chromium.org/23523022/diff/1/chrome/browser/chromeos/drive/file_system_util.cc File chrome/browser/chromeos/drive/file_system_util.cc (right): https://codereview.chromium.org/23523022/diff/1/chrome/browser/chromeos/drive/file_system_util.cc#newcode141 chrome/browser/chromeos/drive/file_system_util.cc:141: DriveIntegrationServiceFactory::GetForProfile(profile); On 2013/09/04 ...
7 years, 3 months ago (2013-09-04 09:35:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/23523022/17001
7 years, 3 months ago (2013-09-04 16:34:11 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=193633
7 years, 3 months ago (2013-09-04 19:31:57 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/23523022/17001
7 years, 3 months ago (2013-09-05 01:09:12 UTC) #6
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/extensions/file_manager/file_tasks.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-05 01:09:16 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/23523022/38001
7 years, 3 months ago (2013-09-05 01:25:53 UTC) #8
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=82932
7 years, 3 months ago (2013-09-05 02:34:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/23523022/38001
7 years, 3 months ago (2013-09-05 03:08:10 UTC) #10
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=82970
7 years, 3 months ago (2013-09-05 03:26:51 UTC) #11
hidehiko
file_tasks.cc and open_with_browser.cc are moved to c/b/chromeos/file_manager, so I need additional OWNER approval. Could you ...
7 years, 3 months ago (2013-09-05 03:33:54 UTC) #12
satorux1
On 2013/09/05 03:33:54, hidehiko wrote: > file_tasks.cc and open_with_browser.cc are moved to c/b/chromeos/file_manager, > so ...
7 years, 3 months ago (2013-09-05 03:39:37 UTC) #13
hidehiko
On 2013/09/05 03:39:37, satorux1 wrote: > On 2013/09/05 03:33:54, hidehiko wrote: > > file_tasks.cc and ...
7 years, 3 months ago (2013-09-05 03:41:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/23523022/69001
7 years, 3 months ago (2013-09-05 03:42:10 UTC) #15
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=83004
7 years, 3 months ago (2013-09-05 04:20:52 UTC) #16
hidehiko
7 years, 3 months ago (2013-09-05 06:48:39 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 manually as r221356 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698