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

Side by Side Diff: Source/platform/exported/WebConvertableToTraceFormat.cpp

Issue 458313005: Cleanup namespace usage from animation to exported in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup namespace usage in platform/animation ~ /exported 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
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 #include "config.h" 5 #include "config.h"
6 #include "public/platform/WebConvertableToTraceFormat.h" 6 #include "public/platform/WebConvertableToTraceFormat.h"
7 7
8 #include "platform/EventTracer.h" 8 #include "platform/EventTracer.h"
9 #include "public/platform/WebString.h" 9 #include "public/platform/WebString.h"
10 10
11 using blink::WebConvertableToTraceFormat;
12 using blink::WebString;
13
14 namespace blink { 11 namespace blink {
15 12
16 WebConvertableToTraceFormat::WebConvertableToTraceFormat(blink::TraceEvent::Conv ertableToTraceFormat* convertable) 13 WebConvertableToTraceFormat::WebConvertableToTraceFormat(TraceEvent::Convertable ToTraceFormat* convertable)
17 : m_private(convertable) 14 : m_private(convertable)
18 { 15 {
19 } 16 }
20 17
21 WebString WebConvertableToTraceFormat::asTraceFormat() const 18 WebString WebConvertableToTraceFormat::asTraceFormat() const
22 { 19 {
23 return m_private->asTraceFormat(); 20 return m_private->asTraceFormat();
24 } 21 }
25 22
26 void WebConvertableToTraceFormat::assign(const WebConvertableToTraceFormat& r) 23 void WebConvertableToTraceFormat::assign(const WebConvertableToTraceFormat& r)
27 { 24 {
28 m_private = r.m_private; 25 m_private = r.m_private;
29 } 26 }
30 27
31 void WebConvertableToTraceFormat::reset() 28 void WebConvertableToTraceFormat::reset()
32 { 29 {
33 m_private.reset(); 30 m_private.reset();
34 } 31 }
35 32
36 } 33 }
kangil_ 2014/08/12 08:20:32 // namespace blink
heeyoun.lee 2014/08/12 08:34:53 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698