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

Unified Diff: content/common/manifest_manager_messages.h

Issue 1913043002: Convert ManifestManager IPCs to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: content/common/manifest_manager_messages.h
diff --git a/content/common/manifest_manager_messages.h b/content/common/manifest_manager_messages.h
deleted file mode 100644
index 67cf0d0ddb59c38fcbf432f88b369d54cf32f3c9..0000000000000000000000000000000000000000
--- a/content/common/manifest_manager_messages.h
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright 2014 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.
-
-// IPC messages for the web manifest manager.
-// Multiply-included message file, hence no include guard.
-
-#include "content/common/content_export.h"
-#include "content/public/common/manifest.h"
-#include "ipc/ipc_message_macros.h"
-
-#undef IPC_MESSAGE_EXPORT
-#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
-
-#define IPC_MESSAGE_START ManifestManagerMsgStart
-
-IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon)
- IPC_STRUCT_TRAITS_MEMBER(src)
- IPC_STRUCT_TRAITS_MEMBER(type)
- IPC_STRUCT_TRAITS_MEMBER(sizes)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(content::Manifest::RelatedApplication)
- IPC_STRUCT_TRAITS_MEMBER(platform)
- IPC_STRUCT_TRAITS_MEMBER(url)
- IPC_STRUCT_TRAITS_MEMBER(id)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(content::Manifest)
- IPC_STRUCT_TRAITS_MEMBER(name)
- IPC_STRUCT_TRAITS_MEMBER(short_name)
- IPC_STRUCT_TRAITS_MEMBER(start_url)
- IPC_STRUCT_TRAITS_MEMBER(display)
- IPC_STRUCT_TRAITS_MEMBER(orientation)
- IPC_STRUCT_TRAITS_MEMBER(icons)
- IPC_STRUCT_TRAITS_MEMBER(related_applications)
- IPC_STRUCT_TRAITS_MEMBER(prefer_related_applications)
- IPC_STRUCT_TRAITS_MEMBER(theme_color)
- IPC_STRUCT_TRAITS_MEMBER(background_color)
- IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id)
-IPC_STRUCT_TRAITS_END()
-
-// The browser process requests for the manifest linked with the associated
-// RenderFrame. The render process will respond via a RequestManifestResponse
-// IPC message with a Manifest object attached to it and the associated
-// |request_id| that was initially given.
-IPC_MESSAGE_ROUTED1(ManifestManagerMsg_RequestManifest,
- int /* request_id */)
-
-// The browser process requests whether the document loaded in the associated
-// RenderFrame has a manifest link URL. The render process will respond with
-// a HasManifestResponse IPC message, along with a bool indicating the presence
-// of a manifest link, and the |request_id| that was initially given.
-IPC_MESSAGE_ROUTED1(ManifestManagerMsg_HasManifest,
- int /* request_id */)
-
-// The render process' response to a RequestManifest. The |request_id| will
-// match the one that was initially received. The |manifest| object will be an
-// empty manifest in case of any failure.
-IPC_MESSAGE_ROUTED2(ManifestManagerHostMsg_RequestManifestResponse,
- int, /* request_id */
- content::Manifest /* manifest */)
-
-// The render process' response to a HasManifest. The |request_id| is the one
-// sent from the browser. The |bool| will be true if the current document has a
-// manifest link URL, and false otherwise.
-IPC_MESSAGE_ROUTED2(ManifestManagerHostMsg_HasManifestResponse,
- int, /* request_id */
- bool /* true if the document has a manifest link */)

Powered by Google App Engine
This is Rietveld 408576698