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

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

Issue 2304233002: [Merge-M53] arc: Open launcher after installing app from Android (Closed)
Patch Set: resolve browser_tests Created 4 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
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 9a649a7cddb0019014c44e06e65b1594b38e1648..4891b5da5673f349f44700d8eebabdde477e8344 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