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

Unified Diff: webkit/common/data_element.h

Issue 17513002: Move DataElement into webkit/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « webkit/common/blob/blob_data.h ('k') | webkit/common/data_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/data_element.h
diff --git a/webkit/base/data_element.h b/webkit/common/data_element.h
similarity index 94%
rename from webkit/base/data_element.h
rename to webkit/common/data_element.h
index bc20d945734af4f78606fcb4534fea4d3a120c0b..3975ffe88ba4af69f5c472e6be0c79b83f0a7329 100644
--- a/webkit/base/data_element.h
+++ b/webkit/common/data_element.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_BASE_DATA_ELEMENT_H_
-#define WEBKIT_BASE_DATA_ELEMENT_H_
+#ifndef WEBKIT_COMMON_DATA_ELEMENT_H_
+#define WEBKIT_COMMON_DATA_ELEMENT_H_
#include <string>
#include <vector>
@@ -13,13 +13,13 @@
#include "base/logging.h"
#include "base/time/time.h"
#include "url/gurl.h"
-#include "webkit/base/webkit_base_export.h"
+#include "webkit/common/webkit_common_export.h"
-namespace webkit_base {
+namespace webkit_common {
// Represents a base Web data element. This could be either one of
// bytes, file or blob data.
-class WEBKIT_BASE_EXPORT DataElement {
+class WEBKIT_COMMON_EXPORT DataElement {
public:
enum Type {
TYPE_UNKNOWN = -1,
@@ -141,6 +141,6 @@ inline bool operator!=(const DataElement& a, const DataElement& b) {
}
#endif // defined(UNIT_TEST)
-} // namespace webkit_base
+} // namespace webkit_common
-#endif // WEBKIT_BASE_DATA_ELEMENT_H_
+#endif // WEBKIT_COMMON_DATA_ELEMENT_H_
« no previous file with comments | « webkit/common/blob/blob_data.h ('k') | webkit/common/data_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698