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

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

Issue 401973003: Rename WebCore namespace to blink in Public (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/WebContentDecryptionModuleResult.h ('k') | public/platform/WebCrypto.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebConvertableToTraceFormat_h 5 #ifndef WebConvertableToTraceFormat_h
6 #define WebConvertableToTraceFormat_h 6 #define WebConvertableToTraceFormat_h
7 7
8 #include "WebPrivatePtr.h" 8 #include "WebPrivatePtr.h"
9 #include "WebString.h" 9 #include "WebString.h"
10 10
11 namespace WebCore { 11 namespace blink {
12 namespace TraceEvent { 12 namespace TraceEvent {
13 class ConvertableToTraceFormat; 13 class ConvertableToTraceFormat;
14 } 14 }
15 } 15 }
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class WebConvertableToTraceFormat { 19 class WebConvertableToTraceFormat {
20 public: 20 public:
21 WebConvertableToTraceFormat() { } 21 WebConvertableToTraceFormat() { }
22 #if INSIDE_BLINK 22 #if INSIDE_BLINK
23 WebConvertableToTraceFormat(WebCore::TraceEvent::ConvertableToTraceFormat*); 23 WebConvertableToTraceFormat(blink::TraceEvent::ConvertableToTraceFormat*);
24 #endif 24 #endif
25 ~WebConvertableToTraceFormat() { reset(); } 25 ~WebConvertableToTraceFormat() { reset(); }
26 26
27 BLINK_PLATFORM_EXPORT WebString asTraceFormat() const; 27 BLINK_PLATFORM_EXPORT WebString asTraceFormat() const;
28 BLINK_PLATFORM_EXPORT void assign(const WebConvertableToTraceFormat&); 28 BLINK_PLATFORM_EXPORT void assign(const WebConvertableToTraceFormat&);
29 BLINK_PLATFORM_EXPORT void reset(); 29 BLINK_PLATFORM_EXPORT void reset();
30 30
31 WebConvertableToTraceFormat(const WebConvertableToTraceFormat& r) { assign(r ); } 31 WebConvertableToTraceFormat(const WebConvertableToTraceFormat& r) { assign(r ); }
32 WebConvertableToTraceFormat& operator=(const WebConvertableToTraceFormat& r) 32 WebConvertableToTraceFormat& operator=(const WebConvertableToTraceFormat& r)
33 { 33 {
34 assign(r); 34 assign(r);
35 return *this; 35 return *this;
36 } 36 }
37 37
38 private: 38 private:
39 WebPrivatePtr<WebCore::TraceEvent::ConvertableToTraceFormat> m_private; 39 WebPrivatePtr<blink::TraceEvent::ConvertableToTraceFormat> m_private;
40 }; 40 };
41 41
42 } // namespace blink 42 } // namespace blink
43 43
44 #endif 44 #endif
OLDNEW
« no previous file with comments | « public/platform/WebContentDecryptionModuleResult.h ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698