Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / apps / drive / drive_app_mapping.h
index be3c1ee..3ac44c0 100644 (file)
@@ -38,8 +38,16 @@ class DriveAppMapping {
 
   std::set<std::string> GetDriveAppIds() const;
 
+  void AddUninstalledDriveApp(const std::string& drive_app_id);
+  void RemoveUninstalledDriveApp(const std::string& drive_app_id);
+  bool IsUninstalledDriveApp(const std::string& drive_app_id) const;
+
  private:
+  void GetUninstalledIdsFromPref();
+  void UpdateUninstalledList();
+
   PrefService* prefs_;
+  std::set<std::string> uninstalled_app_ids_;
 
   DISALLOW_COPY_AND_ASSIGN(DriveAppMapping);
 };