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

Side by Side Diff: Source/platform/weborigin/KURL.cpp

Issue 94113005: Remove unnecessary includes from KURL.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Typo Created 7 years 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/platform/weborigin/KURL.h ('k') | Source/platform/weborigin/KURLTest.cpp » ('j') | 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) 2004, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
4 * Copyright (C) 2008, 2009, 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2008, 2009, 2011 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
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 11 matching lines...) Expand all
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "platform/weborigin/KURL.h" 29 #include "platform/weborigin/KURL.h"
30 30
31 #include "platform/weborigin/KnownPorts.h" 31 #include "platform/weborigin/KnownPorts.h"
32 #include "wtf/HashMap.h"
33 #include "wtf/StdLibExtras.h" 32 #include "wtf/StdLibExtras.h"
34 #include "wtf/text/CString.h" 33 #include "wtf/text/CString.h"
35 #include "wtf/text/StringHash.h" 34 #include "wtf/text/StringHash.h"
36 #include "wtf/text/StringUTF8Adaptor.h" 35 #include "wtf/text/StringUTF8Adaptor.h"
37 #include "wtf/text/TextEncoding.h" 36 #include "wtf/text/TextEncoding.h"
38 #include <algorithm> 37 #include <algorithm>
39 #include <url/url_util.h> 38 #include <url/url_util.h>
40 #ifndef NDEBUG 39 #ifndef NDEBUG
41 #include <stdio.h> 40 #include <stdio.h>
42 #endif 41 #endif
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 m_string = AtomicString::fromUTF8(output.data(), output.length()); 876 m_string = AtomicString::fromUTF8(output.data(), output.length());
878 } 877 }
879 878
880 bool KURL::isSafeToSendToAnotherThread() const 879 bool KURL::isSafeToSendToAnotherThread() const
881 { 880 {
882 return m_string.isSafeToSendToAnotherThread() 881 return m_string.isSafeToSendToAnotherThread()
883 && (!m_innerURL || m_innerURL->isSafeToSendToAnotherThread()); 882 && (!m_innerURL || m_innerURL->isSafeToSendToAnotherThread());
884 } 883 }
885 884
886 } // namespace WebCore 885 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/platform/weborigin/KURL.h ('k') | Source/platform/weborigin/KURLTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698