Chromium Code Reviews| Index: chrome/browser/android/webapk/webapk_web_manifest_checker.h |
| diff --git a/chrome/browser/android/webapk/webapk_web_manifest_checker.h b/chrome/browser/android/webapk/webapk_web_manifest_checker.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f67236a8bb388b66dbe6660dcbab7f5e8918f87c |
| --- /dev/null |
| +++ b/chrome/browser/android/webapk/webapk_web_manifest_checker.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_WEB_MANIFEST_CHECKER_H_ |
| +#define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_WEB_MANIFEST_CHECKER_H_ |
| + |
| +#include "chrome/browser/installable/installable_logging.h" |
| + |
| +namespace content { |
| +struct Manifest; |
| +} |
| + |
| +// Checks whether the format of the URLs in the Web Manifest is WebAPK |
| +// compatible. Returns NO_ERROR_DETECTED if it is compatible and the error code |
| +// otherwise. |
| +InstallableStatusCode CheckWebManifestUrlsWebApkCompatible( |
|
dominickn
2016/08/24 03:27:11
As per only having one status code for this method
|
| + const content::Manifest& manifest); |
| + |
| +#endif // CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_WEB_MANIFEST_CHECKER_H_ |