| commit | 1854428b37dcb4481147a17b8697b8d5443285e0 | [log] [tgz] |
|---|---|---|
| author | Eric Willigers <[email protected]> | Wed Oct 09 05:59:58 2019 |
| committer | Commit Bot <[email protected]> | Wed Oct 09 05:59:58 2019 |
| tree | b9f19a9502eba29ccb354651b4bdf94b689aa2fe | |
| parent | 8bac5feed6dc25d972dfe2d38a33574f0e7b3ce6 [diff] [blame] |
desktop-pwas: Replace WebAppSpecifics LaunchContainer with DisplayMode The proto used by WebAppSyncBridge and WebAppDatabase now contains DisplayMode. [email protected] Bug: 1009909 Change-Id: Ic720d4837f5b6fb15e4f025370bc8d3191a8d2ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846634 Reviewed-by: Eric Willigers <[email protected]> Reviewed-by: Alexey Baskakov <[email protected]> Reviewed-by: Marc Treib <[email protected]> Commit-Queue: Eric Willigers <[email protected]> Cr-Commit-Position: refs/heads/master@{#704081}
diff --git a/chrome/browser/web_applications/web_app_database.h b/chrome/browser/web_applications/web_app_database.h index b86c7c1..4efe69e 100644 --- a/chrome/browser/web_applications/web_app_database.h +++ b/chrome/browser/web_applications/web_app_database.h
@@ -15,6 +15,8 @@ #include "chrome/browser/web_applications/components/web_app_helpers.h" #include "chrome/browser/web_applications/web_app_registrar.h" #include "components/sync/model/model_type_store.h" +#include "components/sync/protocol/web_app_specifics.pb.h" +#include "third_party/blink/public/mojom/manifest/display_mode.mojom-forward.h" namespace syncer { class ModelError; @@ -92,6 +94,12 @@ DISALLOW_COPY_AND_ASSIGN(WebAppDatabase); }; +blink::mojom::DisplayMode ToMojomDisplayMode( + ::sync_pb::WebAppSpecifics::DisplayMode display_mode); + +::sync_pb::WebAppSpecifics::DisplayMode ToWebAppSpecificsDisplayMode( + blink::mojom::DisplayMode display_mode); + } // namespace web_app #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_DATABASE_H_