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

Unified Diff: chrome/browser/ui/app_list/app_list_syncable_service.cc

Issue 556403002: cros: Enable Drive apps integration in app launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restore enable-drive-apps-in-app-list in histograms.xml Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/app_list/app_list_syncable_service.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_syncable_service.cc
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.cc b/chrome/browser/ui/app_list/app_list_syncable_service.cc
index 4ac027b67bb83ff747ed158052de4bcda8ca5cd9..9531ee5035eb718c0af2f61d10f9306f2a46afb4 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
@@ -272,6 +272,10 @@ void AppListSyncableService::BuildModel() {
drive_app_provider_.reset(new DriveAppProvider(profile_));
}
+void AppListSyncableService::ResetDriveAppProviderForTest() {
+ drive_app_provider_.reset();
+}
+
void AppListSyncableService::Shutdown() {
// DriveAppProvider touches other KeyedServices in its dtor and needs be
// released in shutdown stage.
« no previous file with comments | « chrome/browser/ui/app_list/app_list_syncable_service.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698