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

Unified Diff: Source/web/AssociatedURLLoader.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/web/AssociatedURLLoader.h ('k') | Source/web/BackForwardClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/AssociatedURLLoader.cpp
diff --git a/Source/web/AssociatedURLLoader.cpp b/Source/web/AssociatedURLLoader.cpp
index 34c5bcfa04cdc34566ab821c62d29a768a3c0f11..2d6cfa86c028f9c58cc6f9ca384b76b046fd7869 100644
--- a/Source/web/AssociatedURLLoader.cpp
+++ b/Source/web/AssociatedURLLoader.cpp
@@ -50,7 +50,7 @@
#include "wtf/HashSet.h"
#include "wtf/text/WTFString.h"
-using namespace WebCore;
+using namespace blink;
using namespace WTF;
namespace blink {
@@ -300,7 +300,7 @@ AssociatedURLLoader::~AssociatedURLLoader()
}
#define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, webcore_name) \
- COMPILE_ASSERT(static_cast<int>(blink::webkit_name) == static_cast<int>(WebCore::webcore_name), mismatching_enums)
+ COMPILE_ASSERT(static_cast<int>(blink::webkit_name) == static_cast<int>(blink::webcore_name), mismatching_enums)
COMPILE_ASSERT_MATCHING_ENUM(WebURLLoaderOptions::CrossOriginRequestPolicyDeny, DenyCrossOriginRequests);
COMPILE_ASSERT_MATCHING_ENUM(WebURLLoaderOptions::CrossOriginRequestPolicyUseAccessControl, UseAccessControl);
@@ -339,8 +339,8 @@ void AssociatedURLLoader::loadAsynchronously(const WebURLRequest& request, WebUR
if (allowLoad) {
ThreadableLoaderOptions options;
- options.preflightPolicy = static_cast<WebCore::PreflightPolicy>(m_options.preflightPolicy);
- options.crossOriginRequestPolicy = static_cast<WebCore::CrossOriginRequestPolicy>(m_options.crossOriginRequestPolicy);
+ options.preflightPolicy = static_cast<blink::PreflightPolicy>(m_options.preflightPolicy);
+ options.crossOriginRequestPolicy = static_cast<blink::CrossOriginRequestPolicy>(m_options.crossOriginRequestPolicy);
ResourceLoaderOptions resourceLoaderOptions;
resourceLoaderOptions.sniffContent = m_options.sniffContent ? SniffContent : DoNotSniffContent;
« no previous file with comments | « Source/web/AssociatedURLLoader.h ('k') | Source/web/BackForwardClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698