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

Unified Diff: chrome/browser/ui/app_list/arc/arc_package_syncable_service.h

Issue 2276553002: arc: Open launcher after installing app from Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix browser_tests Created 4 years, 4 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
Index: chrome/browser/ui/app_list/arc/arc_package_syncable_service.h
diff --git a/chrome/browser/ui/app_list/arc/arc_package_syncable_service.h b/chrome/browser/ui/app_list/arc/arc_package_syncable_service.h
index f04b47d4b7321f5048598ba11a3463a5456a442c..346bd428bcdf528950733296852b23d0f76fc786 100644
--- a/chrome/browser/ui/app_list/arc/arc_package_syncable_service.h
+++ b/chrome/browser/ui/app_list/arc/arc_package_syncable_service.h
@@ -51,6 +51,9 @@ class ArcPackageSyncableService : public syncer::SyncableService,
ArcAppListPrefs* prefs);
static ArcPackageSyncableService* Get(content::BrowserContext* context);
+ // Returns true if requested package has pending sync request.
+ bool IsPackageSyncing(const std::string& package_name) const;
+
// syncer::SyncableService:
syncer::SyncMergeResult MergeDataAndStartSyncing(
syncer::ModelType type,
@@ -96,7 +99,7 @@ class ArcPackageSyncableService : public syncer::SyncableService,
void UninstallPackage(const SyncItem* sync_item);
// Returns if a package should be synced.
- // TODO(lgcheng@) Supoort may need to be added in this function for different
+ // TODO(lgcheng@) Support may need to be added in this function for different
// use cases.
bool ShouldSyncPackage(const std::string& package_name) const;
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698