Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / manifest_handler.h
index 9091cba..ec44c0a 100644 (file)
@@ -29,8 +29,7 @@ class ManifestHandler {
   // Returns false in case of failure and sets writes error message
   // in |error| if present.
   virtual bool Validate(scoped_refptr<const ApplicationData> application,
-                        std::string* error,
-                        std::vector<InstallWarning>* warnings) const;
+                        std::string* error) const;
 
   // If false (the default), only parse the manifest if a registered
   // key is present in the manifest. If true, always attempt to parse
@@ -56,13 +55,12 @@ class ManifestHandlerRegistry {
   ~ManifestHandlerRegistry();
 
   static ManifestHandlerRegistry* GetInstance(
-      Manifest::PackageType package_type);
+      Package::Type package_type);
 
   bool ParseAppManifest(
        scoped_refptr<ApplicationData> application, base::string16* error);
   bool ValidateAppManifest(scoped_refptr<const ApplicationData> application,
-                           std::string* error,
-                           std::vector<InstallWarning>* warnings);
+                           std::string* error);
 
  private:
   friend class ScopedTestingManifestHandlerRegistry;
@@ -77,7 +75,7 @@ class ManifestHandlerRegistry {
 
   // Sets a new global registry, for testing purposes.
   static void SetInstanceForTesting(ManifestHandlerRegistry* registry,
-                                    Manifest::PackageType package_type);
+                                    Package::Type package_type);
 
   static ManifestHandlerRegistry* GetInstanceForWGT();
   static ManifestHandlerRegistry* GetInstanceForXPK();