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

Unified Diff: chrome/common/install_state_traits.h

Issue 2072613003: Convert GetSearchProviderInstallState to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small twiddles 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: 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,
+ search_provider::DENIED,
+ search_provider::INSTALLED_STATE_LAST)

Powered by Google App Engine
This is Rietveld 408576698