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

Side by Side Diff: Source/core/loader/WorkerThreadableLoader.cpp

Issue 143003030: Removing using namespace std as per Blink coding guidelines (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 unified diff | Download patch
« no previous file with comments | « Source/core/loader/CrossOriginPreflightResultCache.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "platform/network/ResourceError.h" 42 #include "platform/network/ResourceError.h"
43 #include "platform/network/ResourceRequest.h" 43 #include "platform/network/ResourceRequest.h"
44 #include "platform/network/ResourceResponse.h" 44 #include "platform/network/ResourceResponse.h"
45 #include "platform/weborigin/Referrer.h" 45 #include "platform/weborigin/Referrer.h"
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "public/platform/WebWaitableEvent.h" 47 #include "public/platform/WebWaitableEvent.h"
48 #include "wtf/MainThread.h" 48 #include "wtf/MainThread.h"
49 #include "wtf/OwnPtr.h" 49 #include "wtf/OwnPtr.h"
50 #include "wtf/Vector.h" 50 #include "wtf/Vector.h"
51 51
52 using namespace std;
53
54 namespace WebCore { 52 namespace WebCore {
55 53
56 WorkerThreadableLoader::WorkerThreadableLoader(WorkerGlobalScope* workerGlobalSc ope, PassRefPtr<ThreadableLoaderClientWrapper> clientWrapper, PassOwnPtr<Threada bleLoaderClient> clientBridge, const ResourceRequest& request, const ThreadableL oaderOptions& options) 54 WorkerThreadableLoader::WorkerThreadableLoader(WorkerGlobalScope* workerGlobalSc ope, PassRefPtr<ThreadableLoaderClientWrapper> clientWrapper, PassOwnPtr<Threada bleLoaderClient> clientBridge, const ResourceRequest& request, const ThreadableL oaderOptions& options)
57 : m_workerGlobalScope(workerGlobalScope) 55 : m_workerGlobalScope(workerGlobalScope)
58 , m_workerClientWrapper(clientWrapper) 56 , m_workerClientWrapper(clientWrapper)
59 , m_bridge(*(new MainThreadBridge(m_workerClientWrapper, clientBridge, m_wor kerGlobalScope->thread()->workerLoaderProxy(), request, options, workerGlobalSco pe->url().strippedForUseAsReferrer()))) 57 , m_bridge(*(new MainThreadBridge(m_workerClientWrapper, clientBridge, m_wor kerGlobalScope->thread()->workerLoaderProxy(), request, options, workerGlobalSco pe->url().strippedForUseAsReferrer())))
60 { 58 {
61 } 59 }
62 60
63 WorkerThreadableLoader::~WorkerThreadableLoader() 61 WorkerThreadableLoader::~WorkerThreadableLoader()
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 { 218 {
221 m_clientBridge->didFailAccessControlCheck(error); 219 m_clientBridge->didFailAccessControlCheck(error);
222 } 220 }
223 221
224 void WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck() 222 void WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck()
225 { 223 {
226 m_clientBridge->didFailRedirectCheck(); 224 m_clientBridge->didFailRedirectCheck();
227 } 225 }
228 226
229 } // namespace WebCore 227 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/loader/CrossOriginPreflightResultCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698