Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Issue 23524005: Introduce AppsClient and use it in apps to get the loaded profiles list. (Closed)

Created:
7 years, 3 months ago by benwells
Modified:
7 years, 3 months ago
Reviewers:
tapted, sky
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, extensions-reviews_chromium.org, vandebo (ex-Chrome), Lei Zhang, tfarina, tommycli, scheib+watch_chromium.org, Greg Billock, tzik+watch_chromium.org, chromium-apps-reviews_chromium.org, kinuko+watch, Yoyo Zhou, miket_OOO
Visibility:
Public.

Description

Introduce AppsClient and use it in apps to get the loaded profiles list. This breaks one dependency from the apps component to g_browser_process and some dependencies on profile. BUG=159366 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222988

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Remove change that slipped in #

Patch Set 4 : Compile, self nits #

Total comments: 21

Patch Set 5 : Rebase #

Patch Set 6 : Feedback #

Patch Set 7 : Mac, ash compile #

Patch Set 8 : chromeos compile #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -55 lines) Patch
M apps/app_lifetime_monitor.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M apps/apps.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A apps/apps_client.h View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A + apps/apps_client.cc View 1 2 3 4 5 1 chunk +8 lines, -11 lines 0 comments Download
M apps/shell_window_registry.h View 1 2 3 4 5 6 6 chunks +14 lines, -18 lines 0 comments Download
M apps/shell_window_registry.cc View 1 2 3 4 5 8 chunks +28 lines, -24 lines 0 comments Download
A chrome/browser/apps/chrome_apps_client.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/apps/chrome_apps_client.cc View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
chrome/browser/apps/web_view_interactive_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/app_session_lifetime.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc View 1 chunk +1 line, -0 lines 0 comments Download
chrome/browser/extensions/api/file_system/file_system_api.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/window_open_apitest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_controller.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac_browsertest.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
benwells
7 years, 3 months ago (2013-09-03 13:25:09 UTC) #1
tapted
https://codereview.chromium.org/23524005/diff/11001/apps/apps_client.cc File apps/apps_client.cc (right): https://codereview.chromium.org/23524005/diff/11001/apps/apps_client.cc#newcode7 apps/apps_client.cc:7: #include "base/basictypes.h" nit: I don't think this is used ...
7 years, 3 months ago (2013-09-04 01:08:35 UTC) #2
tapted
https://codereview.chromium.org/23524005/diff/11001/chrome/browser/apps/chrome_apps_client.cc File chrome/browser/apps/chrome_apps_client.cc (right): https://codereview.chromium.org/23524005/diff/11001/chrome/browser/apps/chrome_apps_client.cc#newcode10 chrome/browser/apps/chrome_apps_client.cc:10: static base::LazyInstance<ChromeAppsClient> g_client = BTW, I think you can ...
7 years, 3 months ago (2013-09-04 01:17:52 UTC) #3
benwells
https://codereview.chromium.org/23524005/diff/11001/apps/apps_client.cc File apps/apps_client.cc (right): https://codereview.chromium.org/23524005/diff/11001/apps/apps_client.cc#newcode7 apps/apps_client.cc:7: #include "base/basictypes.h" On 2013/09/04 01:08:35, tapted wrote: > nit: ...
7 years, 3 months ago (2013-09-10 16:48:50 UTC) #4
tapted
lgtm https://codereview.chromium.org/23524005/diff/11001/apps/apps_client.cc File apps/apps_client.cc (right): https://codereview.chromium.org/23524005/diff/11001/apps/apps_client.cc#newcode7 apps/apps_client.cc:7: #include "base/basictypes.h" On 2013/09/10 16:48:50, benwells wrote: > ...
7 years, 3 months ago (2013-09-10 20:46:08 UTC) #5
benwells
+sky for owners review.
7 years, 3 months ago (2013-09-10 20:58:07 UTC) #6
sky
Ben, what files do you need me to review here?
7 years, 3 months ago (2013-09-11 02:13:25 UTC) #7
benwells
On 2013/09/11 02:13:25, sky wrote: > Ben, what files do you need me to review ...
7 years, 3 months ago (2013-09-11 04:39:24 UTC) #8
benwells
On 2013/09/11 02:13:25, sky wrote: > Ben, what files do you need me to review ...
7 years, 3 months ago (2013-09-11 04:39:26 UTC) #9
sky
LGTM
7 years, 3 months ago (2013-09-11 16:13:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/23524005/45002
7 years, 3 months ago (2013-09-12 00:56:22 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser_extensions.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-12 00:56:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/23524005/73001
7 years, 3 months ago (2013-09-13 01:10:16 UTC) #13
commit-bot: I haz the power
7 years, 3 months ago (2013-09-13 06:55:23 UTC) #14
Message was sent while issue was closed.
Change committed as 222988

Powered by Google App Engine
This is Rietveld 408576698