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

Side by Side Diff: Source/core/platform/KURL.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/platform/KURL.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) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r ights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r ights 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Getters for the parsed structure and its corresponding 8-bit string. 172 // Getters for the parsed structure and its corresponding 8-bit string.
173 const url_parse::Parsed& parsed() const { return m_url.m_parsed; } 173 const url_parse::Parsed& parsed() const { return m_url.m_parsed; }
174 const CString& utf8String() const { return m_url.utf8String(); } 174 const CString& utf8String() const { return m_url.utf8String(); }
175 175
176 const KURL* innerURL() const { return m_url.innerURL(); } 176 const KURL* innerURL() const { return m_url.innerURL(); }
177 177
178 #ifndef NDEBUG 178 #ifndef NDEBUG
179 void print() const; 179 void print() const;
180 #endif 180 #endif
181 181
182 void reportMemoryUsage(MemoryObjectInfo*) const;
183 bool isSafeToSendToAnotherThread() const; 182 bool isSafeToSendToAnotherThread() const;
184 183
185 private: 184 private:
186 void invalidate(); 185 void invalidate();
187 static bool protocolIs(const String&, const char*); 186 static bool protocolIs(const String&, const char*);
188 187
189 friend class KURLGooglePrivate; 188 friend class KURLGooglePrivate;
190 KURLGooglePrivate m_url; 189 KURLGooglePrivate m_url;
191 }; 190 };
192 191
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 263
265 // KURLHash is the default hash for String 264 // KURLHash is the default hash for String
266 template<typename T> struct DefaultHash; 265 template<typename T> struct DefaultHash;
267 template<> struct DefaultHash<WebCore::KURL> { 266 template<> struct DefaultHash<WebCore::KURL> {
268 typedef WebCore::KURLHash Hash; 267 typedef WebCore::KURLHash Hash;
269 }; 268 };
270 269
271 } // namespace WTF 270 } // namespace WTF
272 271
273 #endif // KURL_h 272 #endif // KURL_h
OLDNEW
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/platform/KURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698