summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 09:13:57 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 09:13:57 +0000
commit3b4c852dbdb38a51453945619394ea0801542019 (patch)
tree08a3a8af2b285800c3c5320d7e779ab53c9ce960
parent1ef87c1c72b19a32dba3da8e8c579113679c9115 (diff)
downloadchromium_src-3b4c852dbdb38a51453945619394ea0801542019.zip
chromium_src-3b4c852dbdb38a51453945619394ea0801542019.tar.gz
chromium_src-3b4c852dbdb38a51453945619394ea0801542019.tar.bz2
DevTools: follow up to r54722, remove unused classes.
Review URL: http://codereview.chromium.org/3037037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54724 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/renderer/devtools_agent.cc1
-rw-r--r--webkit/glue/devtools_message_data.cc28
-rw-r--r--webkit/glue/devtools_message_data.h25
3 files changed, 0 insertions, 54 deletions
diff --git a/chrome/renderer/devtools_agent.cc b/chrome/renderer/devtools_agent.cc
index da0f20e..282cf18 100644
--- a/chrome/renderer/devtools_agent.cc
+++ b/chrome/renderer/devtools_agent.cc
@@ -15,7 +15,6 @@
#include "third_party/WebKit/WebKit/chromium/public/WebPoint.h"
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
#include "third_party/WebKit/WebKit/chromium/public/WebView.h"
-#include "webkit/glue/devtools_message_data.h"
#include "webkit/glue/webkit_glue.h"
using WebKit::WebDevToolsAgent;
diff --git a/webkit/glue/devtools_message_data.cc b/webkit/glue/devtools_message_data.cc
deleted file mode 100644
index 94b7408..0000000
--- a/webkit/glue/devtools_message_data.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2010 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 "webkit/glue/devtools_message_data.h"
-
-#include "third_party/WebKit/WebKit/chromium/public/WebCString.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
-
-using WebKit::WebString;
-
-DevToolsMessageData::DevToolsMessageData(const WebDevToolsMessageData& data)
- : class_name(data.className.utf8()),
- method_name(data.methodName.utf8()) {
- for (size_t i = 0; i < data.arguments.size(); i++)
- arguments.push_back(data.arguments[i].utf8());
-}
-
-WebDevToolsMessageData DevToolsMessageData::ToWebDevToolsMessageData() const {
- WebDevToolsMessageData result;
- result.className = WebString::fromUTF8(class_name);
- result.methodName = WebString::fromUTF8(method_name);
- WebVector<WebString> web_args(arguments.size());
- for (size_t i = 0; i < arguments.size(); i++)
- web_args[i] = WebString::fromUTF8(arguments[i]);
- result.arguments.swap(web_args);
- return result;
-}
diff --git a/webkit/glue/devtools_message_data.h b/webkit/glue/devtools_message_data.h
deleted file mode 100644
index 31daa14..0000000
--- a/webkit/glue/devtools_message_data.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2010 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.
-
-#ifndef WEBKIT_GLUE_DEVTOOLS_MESSAGE_DATA_H_
-#define WEBKIT_GLUE_DEVTOOLS_MESSAGE_DATA_H_
-
-#include <string>
-#include <vector>
-
-namespace WebKit {
-struct WebDevToolsMessageData;
-}
-
-struct DevToolsMessageData {
- DevToolsMessageData() {}
- explicit DevToolsMessageData(const WebKit::WebDevToolsMessageData&);
- WebKit::WebDevToolsMessageData ToWebDevToolsMessageData() const;
-
- std::string class_name;
- std::string method_name;
- std::vector<std::string> arguments;
-};
-
-#endif // WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_MESSAGE_DATA_H_