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

Side by Side Diff: Source/platform/exported/WebContentDecryptionModuleResult.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 from animation to exported in platform/ 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/WebContentDecryptionModuleResult.h" 6 #include "public/platform/WebContentDecryptionModuleResult.h"
7 7
8 #include "platform/ContentDecryptionModuleResult.h" 8 #include "platform/ContentDecryptionModuleResult.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 void WebContentDecryptionModuleResult::complete() 12 void WebContentDecryptionModuleResult::complete()
13 { 13 {
14 m_impl->complete(); 14 m_impl->complete();
15 reset(); 15 reset();
16 } 16 }
17 17
18 void WebContentDecryptionModuleResult::completeWithSession(SessionStatus status) 18 void WebContentDecryptionModuleResult::completeWithSession(SessionStatus status)
19 { 19 {
20 m_impl->completeWithSession(status); 20 m_impl->completeWithSession(status);
21 reset(); 21 reset();
22 } 22 }
23 23
24 void WebContentDecryptionModuleResult::completeWithError(WebContentDecryptionMod uleException exception, unsigned long systemCode, const WebString& errorMessage) 24 void WebContentDecryptionModuleResult::completeWithError(WebContentDecryptionMod uleException exception, unsigned long systemCode, const WebString& errorMessage)
25 { 25 {
26 m_impl->completeWithError(exception, systemCode, errorMessage); 26 m_impl->completeWithError(exception, systemCode, errorMessage);
27 reset(); 27 reset();
28 } 28 }
29 29
30 WebContentDecryptionModuleResult::WebContentDecryptionModuleResult(blink::Conten tDecryptionModuleResult* impl) 30 WebContentDecryptionModuleResult::WebContentDecryptionModuleResult(ContentDecryp tionModuleResult* impl)
31 : m_impl(impl) 31 : m_impl(impl)
32 { 32 {
33 ASSERT(m_impl.get()); 33 ASSERT(m_impl.get());
34 } 34 }
35 35
36 void WebContentDecryptionModuleResult::reset() 36 void WebContentDecryptionModuleResult::reset()
37 { 37 {
38 m_impl.reset(); 38 m_impl.reset();
39 } 39 }
40 40
41 void WebContentDecryptionModuleResult::assign(const WebContentDecryptionModuleRe sult& o) 41 void WebContentDecryptionModuleResult::assign(const WebContentDecryptionModuleRe sult& o)
42 { 42 {
43 m_impl = o.m_impl; 43 m_impl = o.m_impl;
44 } 44 }
45 45
46 } // namespace blink 46 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/exported/WebBlobData.cpp ('k') | Source/platform/exported/WebConvertableToTraceFormat.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698