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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebContentDecryptionModuleResult.cpp

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (Closed)
Patch Set: rebase Created 3 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
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 "public/platform/WebContentDecryptionModuleResult.h" 5 #include "public/platform/WebContentDecryptionModuleResult.h"
6 6
7 #include "platform/ContentDecryptionModuleResult.h" 7 #include "platform/ContentDecryptionModuleResult.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 18 matching lines...) Expand all
29 WebContentDecryptionModuleException exception, 29 WebContentDecryptionModuleException exception,
30 unsigned long system_code, 30 unsigned long system_code,
31 const WebString& error_message) { 31 const WebString& error_message) {
32 impl_->CompleteWithError(exception, system_code, error_message); 32 impl_->CompleteWithError(exception, system_code, error_message);
33 Reset(); 33 Reset();
34 } 34 }
35 35
36 WebContentDecryptionModuleResult::WebContentDecryptionModuleResult( 36 WebContentDecryptionModuleResult::WebContentDecryptionModuleResult(
37 ContentDecryptionModuleResult* impl) 37 ContentDecryptionModuleResult* impl)
38 : impl_(impl) { 38 : impl_(impl) {
39 ASSERT(impl_.Get()); 39 DCHECK(impl_.Get());
40 } 40 }
41 41
42 void WebContentDecryptionModuleResult::Reset() { 42 void WebContentDecryptionModuleResult::Reset() {
43 impl_.Reset(); 43 impl_.Reset();
44 } 44 }
45 45
46 void WebContentDecryptionModuleResult::Assign( 46 void WebContentDecryptionModuleResult::Assign(
47 const WebContentDecryptionModuleResult& o) { 47 const WebContentDecryptionModuleResult& o) {
48 impl_ = o.impl_; 48 impl_ = o.impl_;
49 } 49 }
50 50
51 } // namespace blink 51 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698