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

Unified Diff: content/common/devtools_messages.cc

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 | « content/common/devtools_messages.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/devtools_messages.cc
diff --git a/content/common/devtools_messages.cc b/content/common/devtools_messages.cc
deleted file mode 100644
index bc61d4c4fcb74edb1547ba0a5d848e74f0ee02c9..0000000000000000000000000000000000000000
--- a/content/common/devtools_messages.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "content/common/devtools_messages.h"
-
-namespace IPC {
-
-void ParamTraits<content::ConsoleMessageLevel>::Write(Message* m,
- const param_type& p) {
- m->WriteInt(static_cast<int>(p));
-}
-
-bool ParamTraits<content::ConsoleMessageLevel>::Read(const Message* m,
- PickleIterator* iter,
- param_type* p) {
- int type;
- if (!m->ReadInt(iter, &type))
- return false;
- *p = static_cast<param_type>(type);
- return true;
-}
-
-void ParamTraits<content::ConsoleMessageLevel>::Log(const param_type& p,
- std::string* l) {
- std::string level;
- switch (p) {
- case content::CONSOLE_MESSAGE_LEVEL_TIP:
- level = "CONSOLE_MESSAGE_LEVEL_TIP";
- break;
- case content::CONSOLE_MESSAGE_LEVEL_LOG:
- level = "CONSOLE_MESSAGE_LEVEL_LOG";
- break;
- case content::CONSOLE_MESSAGE_LEVEL_WARNING:
- level = "CONSOLE_MESSAGE_LEVEL_WARNING";
- break;
- case content::CONSOLE_MESSAGE_LEVEL_ERROR:
- level = "CONSOLE_MESSAGE_LEVEL_ERROR";
- break;
- }
- LogParam(level, l);
-}
-
-} // namespace IPC
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698