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

Side by Side Diff: Source/core/html/PublicURLManager.cpp

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Motorola Mobility Inc. 2 * Copyright (C) 2012 Motorola Mobility Inc.
3 * Copyright (C) 2013 Google Inc. All Rights Reserved. 3 * Copyright (C) 2013 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 10 matching lines...) Expand all
21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/html/PublicURLManager.h" 28 #include "core/html/PublicURLManager.h"
29 29
30 #include "core/html/URLRegistry.h" 30 #include "core/html/URLRegistry.h"
31 #include "weborigin/KURL.h" 31 #include "platform/weborigin/KURL.h"
32 #include "wtf/text/StringHash.h" 32 #include "wtf/text/StringHash.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 PassOwnPtr<PublicURLManager> PublicURLManager::create(ExecutionContext* context) 36 PassOwnPtr<PublicURLManager> PublicURLManager::create(ExecutionContext* context)
37 { 37 {
38 OwnPtr<PublicURLManager> publicURLManager(adoptPtr(new PublicURLManager(cont ext))); 38 OwnPtr<PublicURLManager> publicURLManager(adoptPtr(new PublicURLManager(cont ext)));
39 publicURLManager->suspendIfNeeded(); 39 publicURLManager->suspendIfNeeded();
40 return publicURLManager.release(); 40 return publicURLManager.release();
41 } 41 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 m_isStopped = true; 75 m_isStopped = true;
76 for (RegistryURLMap::iterator i = m_registryToURL.begin(); i != m_registryTo URL.end(); ++i) { 76 for (RegistryURLMap::iterator i = m_registryToURL.begin(); i != m_registryTo URL.end(); ++i) {
77 for (URLSet::iterator j = i->value.begin(); j != i->value.end(); ++j) 77 for (URLSet::iterator j = i->value.begin(); j != i->value.end(); ++j)
78 i->key->unregisterURL(KURL(ParsedURLString, *j)); 78 i->key->unregisterURL(KURL(ParsedURLString, *j));
79 } 79 }
80 80
81 m_registryToURL.clear(); 81 m_registryToURL.clear();
82 } 82 }
83 83
84 } 84 }
OLDNEW
« no previous file with comments | « Source/core/html/MediaFragmentURIParser.h ('k') | Source/core/html/canvas/CanvasRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698