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

Side by Side Diff: public/platform/WebURLLoadTiming.h

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « public/platform/WebURLError.h ('k') | public/platform/WebURLRequest.h » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebURLLoadTiming_h 31 #ifndef WebURLLoadTiming_h
32 #define WebURLLoadTiming_h 32 #define WebURLLoadTiming_h
33 33
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebPrivatePtr.h" 35 #include "WebPrivatePtr.h"
36 36
37 namespace blink { class ResourceLoadTiming; } 37 namespace blink {
38 38
39 namespace blink { 39 class ResourceLoadTiming;
40 class WebString; 40 class WebString;
41 41
42 class WebURLLoadTiming { 42 class WebURLLoadTiming {
43 public: 43 public:
44 ~WebURLLoadTiming() { reset(); } 44 ~WebURLLoadTiming() { reset(); }
45 45
46 WebURLLoadTiming() { } 46 WebURLLoadTiming() { }
47 WebURLLoadTiming(const WebURLLoadTiming& d) { assign(d); } 47 WebURLLoadTiming(const WebURLLoadTiming& d) { assign(d); }
48 WebURLLoadTiming& operator=(const WebURLLoadTiming& d) 48 WebURLLoadTiming& operator=(const WebURLLoadTiming& d)
49 { 49 {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 BLINK_PLATFORM_EXPORT double receiveHeadersEnd() const; 87 BLINK_PLATFORM_EXPORT double receiveHeadersEnd() const;
88 BLINK_PLATFORM_EXPORT void setReceiveHeadersEnd(double); 88 BLINK_PLATFORM_EXPORT void setReceiveHeadersEnd(double);
89 89
90 BLINK_PLATFORM_EXPORT double sslStart() const; 90 BLINK_PLATFORM_EXPORT double sslStart() const;
91 BLINK_PLATFORM_EXPORT void setSSLStart(double); 91 BLINK_PLATFORM_EXPORT void setSSLStart(double);
92 92
93 BLINK_PLATFORM_EXPORT double sslEnd() const; 93 BLINK_PLATFORM_EXPORT double sslEnd() const;
94 BLINK_PLATFORM_EXPORT void setSSLEnd(double); 94 BLINK_PLATFORM_EXPORT void setSSLEnd(double);
95 95
96 #if INSIDE_BLINK 96 #if INSIDE_BLINK
97 BLINK_PLATFORM_EXPORT WebURLLoadTiming(const WTF::PassRefPtr<blink::Resource LoadTiming>&); 97 BLINK_PLATFORM_EXPORT WebURLLoadTiming(const WTF::PassRefPtr<ResourceLoadTim ing>&);
98 BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(const WTF::PassRefPtr<blin k::ResourceLoadTiming>&); 98 BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(const WTF::PassRefPtr<Reso urceLoadTiming>&);
99 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<blink::ResourceLoadTiming>() const; 99 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadTiming>() const;
100 #endif 100 #endif
101 101
102 private: 102 private:
103 WebPrivatePtr<blink::ResourceLoadTiming> m_private; 103 WebPrivatePtr<ResourceLoadTiming> m_private;
104 }; 104 };
105 105
106 } // namespace blink 106 } // namespace blink
107 107
108 #endif 108 #endif
OLDNEW
« no previous file with comments | « public/platform/WebURLError.h ('k') | public/platform/WebURLRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698