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

Unified Diff: Source/core/loader/CookieJar.cpp

Issue 1111173002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Incorporating Review Comments Created 5 years, 8 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/core/inspector/InspectorResourceContentLoader.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/CookieJar.cpp
diff --git a/Source/core/loader/CookieJar.cpp b/Source/core/loader/CookieJar.cpp
index bf9c4ba68aa04d3fa5fbdb6013e1286c554d5626..7bd7b7adf25675f31fe913ec19fc6e81b1197fb7 100644
--- a/Source/core/loader/CookieJar.cpp
+++ b/Source/core/loader/CookieJar.cpp
@@ -40,7 +40,7 @@
namespace blink {
-static blink::WebCookieJar* toCookieJar(const Document* document)
+static WebCookieJar* toCookieJar(const Document* document)
{
if (!document || !document->frame())
return 0;
@@ -49,7 +49,7 @@ static blink::WebCookieJar* toCookieJar(const Document* document)
String cookies(const Document* document, const KURL& url)
{
- blink::WebCookieJar* cookieJar = toCookieJar(document);
+ WebCookieJar* cookieJar = toCookieJar(document);
if (!cookieJar)
return String();
return cookieJar->cookies(url, document->firstPartyForCookies());
@@ -57,7 +57,7 @@ String cookies(const Document* document, const KURL& url)
void setCookies(Document* document, const KURL& url, const String& cookieString)
{
- blink::WebCookieJar* cookieJar = toCookieJar(document);
+ WebCookieJar* cookieJar = toCookieJar(document);
if (!cookieJar)
return;
cookieJar->setCookie(url, document->firstPartyForCookies(), cookieString);
@@ -65,7 +65,7 @@ void setCookies(Document* document, const KURL& url, const String& cookieString)
bool cookiesEnabled(const Document* document)
{
- blink::WebCookieJar* cookieJar = toCookieJar(document);
+ WebCookieJar* cookieJar = toCookieJar(document);
if (!cookieJar)
return false;
return cookieJar->cookiesEnabled(document->cookieURL(), document->firstPartyForCookies());
@@ -73,10 +73,10 @@ bool cookiesEnabled(const Document* document)
String cookieRequestHeaderFieldValue(const Document* document, const KURL& url)
{
- blink::WebCookieJar* cookieJar = toCookieJar(document);
+ WebCookieJar* cookieJar = toCookieJar(document);
if (!cookieJar)
return String();
return cookieJar->cookieRequestHeaderFieldValue(url, document->firstPartyForCookies());
}
-}
+} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorResourceContentLoader.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698