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

Unified Diff: content/common/devtools_messages.h

Issue 10534147: Allow platform apps to open links in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 8 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
« no previous file with comments | « chrome/test/data/extensions/platform_apps/open_link/test.js ('k') | content/common/devtools_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/devtools_messages.h
diff --git a/content/common/devtools_messages.h b/content/common/devtools_messages.h
index 4f2d078a495ef18b02a2ee4aa0463132dadd024e..9acaf5d806cd8d2798bac2fe151f8b4c6d452723 100644
--- a/content/common/devtools_messages.h
+++ b/content/common/devtools_messages.h
@@ -43,6 +43,7 @@
#include <string>
#include "content/common/content_export.h"
+#include "content/public/common/common_param_traits.h"
#include "content/public/common/console_message_level.h"
#include "ipc/ipc_message_macros.h"
@@ -51,24 +52,6 @@
#define IPC_MESSAGE_START DevToolsMsgStart
-// Singly-included section since need custom serialization.
-#ifndef CONTENT_COMMON_DEVTOOLS_MESSAGES_H_
-#define CONTENT_COMMON_DEVTOOLS_MESSAGES_H_
-
-namespace IPC {
-
-template<>
-struct ParamTraits<content::ConsoleMessageLevel> {
- typedef content::ConsoleMessageLevel param_type;
- static void Write(Message* m, const param_type& p);
- static bool Read(const Message* m, PickleIterator* iter, param_type* r);
- static void Log(const param_type& p, std::string* l);
-};
-
-} // namespace IPC
-
-#endif // CONTENT_COMMON_DEVTOOLS_MESSAGES_H_
-
// These are messages sent from DevToolsAgent to DevToolsClient through the
// browser.
// WebKit-level transport.
« no previous file with comments | « chrome/test/data/extensions/platform_apps/open_link/test.js ('k') | content/common/devtools_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698