Chromium Code Reviews| Index: chrome/common/install_state_traits.h |
| diff --git a/android_webview/common/render_view_messages.cc b/chrome/common/install_state_traits.h |
| similarity index 39% |
| copy from android_webview/common/render_view_messages.cc |
| copy to chrome/common/install_state_traits.h |
| index a954e2a69c06eec84b32a791feeab900cee6057d..64a1b0d5a4e0b20a0efac7332180b7b06fbcc49a 100644 |
| --- a/android_webview/common/render_view_messages.cc |
| +++ b/chrome/common/install_state_traits.h |
| @@ -2,10 +2,9 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "android_webview/common/render_view_messages.h" |
| +#include "chrome/common/search_provider.h" |
| +#include "ipc/ipc_message_macros.h" |
| -namespace IPC { |
| - |
| -// TODO - add enums and custom IPC traits here when needed. |
| - |
| -} // namespace IPC |
| +IPC_ENUM_TRAITS_MIN_MAX_VALUE(search_provider::InstallState, |
|
dcheng
2016/06/21 19:14:55
Can we just define the enum in mojom, remove the o
tibell
2016/06/23 02:47:16
Done.
|
| + search_provider::DENIED, |
| + search_provider::INSTALLED_STATE_LAST) |