summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-25 06:21:10 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-25 06:21:10 +0000
commitb3e1b1c1f4007e702fbbc5442e0309884a46fb1c (patch)
treef79a5f45487b09539e0bed89279815b3e8ff1c5c
parent6f35d097fe0e72e1ba01c92288a7db97e08b3f13 (diff)
downloadchromium_src-b3e1b1c1f4007e702fbbc5442e0309884a46fb1c.zip
chromium_src-b3e1b1c1f4007e702fbbc5442e0309884a46fb1c.tar.gz
chromium_src-b3e1b1c1f4007e702fbbc5442e0309884a46fb1c.tar.bz2
Delete unused files.
R=jamesr@chromium.org Review URL: https://codereview.chromium.org/17637007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208432 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/base/file_path_string_conversions.cc29
-rw-r--r--webkit/base/file_path_string_conversions.h31
-rw-r--r--webkit/base/webkit_base.gyp2
3 files changed, 0 insertions, 62 deletions
diff --git a/webkit/base/file_path_string_conversions.cc b/webkit/base/file_path_string_conversions.cc
deleted file mode 100644
index a44a0fa..0000000
--- a/webkit/base/file_path_string_conversions.cc
+++ /dev/null
@@ -1,29 +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 "webkit/base/file_path_string_conversions.h"
-
-#include "third_party/WebKit/public/platform/WebString.h"
-
-namespace webkit_base {
-
-base::FilePath::StringType WebStringToFilePathString(
- const WebKit::WebString& str) {
- return base::FilePath::FromUTF16Unsafe(str).value();
-}
-
-WebKit::WebString FilePathStringToWebString(
- const base::FilePath::StringType& str) {
- return base::FilePath(str).AsUTF16Unsafe();
-}
-
-base::FilePath WebStringToFilePath(const WebKit::WebString& str) {
- return base::FilePath::FromUTF16Unsafe(str);
-}
-
-WebKit::WebString FilePathToWebString(const base::FilePath& file_path) {
- return file_path.AsUTF16Unsafe();
-}
-
-} // namespace webkit_base
diff --git a/webkit/base/file_path_string_conversions.h b/webkit/base/file_path_string_conversions.h
deleted file mode 100644
index 8fa3998..0000000
--- a/webkit/base/file_path_string_conversions.h
+++ /dev/null
@@ -1,31 +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.
-
-#ifndef WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
-#define WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
-
-#include "base/files/file_path.h"
-#include "webkit/base/webkit_base_export.h"
-
-namespace WebKit {
-class WebString;
-}
-
-namespace webkit_base {
-
-// DEPRECATED
-// Use FilePath::{As,From}UTF16Unsafe instead.
-
-WEBKIT_BASE_EXPORT base::FilePath::StringType WebStringToFilePathString(
- const WebKit::WebString& str);
-WEBKIT_BASE_EXPORT WebKit::WebString FilePathStringToWebString(
- const base::FilePath::StringType& str);
-WEBKIT_BASE_EXPORT base::FilePath WebStringToFilePath(
- const WebKit::WebString& str);
-WEBKIT_BASE_EXPORT WebKit::WebString FilePathToWebString(
- const base::FilePath& file_path);
-
-} // namespace webkit_base
-
-#endif // WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
diff --git a/webkit/base/webkit_base.gyp b/webkit/base/webkit_base.gyp
index 9615bea..ed0f292 100644
--- a/webkit/base/webkit_base.gyp
+++ b/webkit/base/webkit_base.gyp
@@ -18,8 +18,6 @@
'sources': [
'data_element.cc',
'data_element.h',
- 'file_path_string_conversions.cc',
- 'file_path_string_conversions.h',
'webkit_base_export.h',
],
},