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

Unified Diff: content/public/common/resource_type.cc

Issue 370833002: Move resource_type.* from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix Created 6 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
Index: content/public/common/resource_type.cc
diff --git a/webkit/common/resource_type.cc b/content/public/common/resource_type.cc
similarity index 94%
rename from webkit/common/resource_type.cc
rename to content/public/common/resource_type.cc
index 7e938db162acc3907f7a35f0f1658ba391c8dd7c..af6b0d666f7c40d1e12387e49a21e18cad2dba86 100644
--- a/webkit/common/resource_type.cc
+++ b/content/public/common/resource_type.cc
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/common/resource_type.h"
+#include "content/public/common/resource_type.h"
#include "base/logging.h"
using blink::WebURLRequest;
+namespace content {
+
// static
ResourceType::Type ResourceType::FromTargetType(
WebURLRequest::TargetType type) {
@@ -49,3 +51,5 @@ ResourceType::Type ResourceType::FromTargetType(
return ResourceType::SUB_RESOURCE;
}
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698