Chromium Code Reviews| Index: components/dom_distiller/content/common/distiller_messages.h |
| diff --git a/components/dom_distiller/content/common/distiller_messages.h b/components/dom_distiller/content/common/distiller_messages.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..de04a1e840ce3b9d67e7d9a5ec3cb0c1e1b12d79 |
| --- /dev/null |
| +++ b/components/dom_distiller/content/common/distiller_messages.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2015 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. |
| + |
| +// Multiply-included message file, hence no include guard. |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "base/strings/string16.h" |
| +#include "content/public/common/common_param_traits.h" |
| +#include "content/public/common/common_param_traits_macros.h" |
| +#include "ipc/ipc_message_macros.h" |
| +#include "ipc/ipc_message_utils.h" |
| + |
| +#define IPC_MESSAGE_START DistillerMsgStart |
| + |
| +// Whether a page is suitable for DOM distiller to process. |
| +IPC_MESSAGE_ROUTED2(FrameHostMsg_Distillability, bool, bool) |
|
Tom Sepez
2015/11/13 17:00:44
nit: add comment explaining what each bool means.
wychen
2015/11/13 18:04:56
Done.
|