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

Side by Side Diff: Source/platform/ContentDecryptionModuleResult.h

Issue 400543004: Rename WebCore namespace to blink in Platform (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 | « Source/platform/ColorSuggestion.h ('k') | Source/platform/ContentType.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 ContentDecryptionModuleResult_h 5 #ifndef ContentDecryptionModuleResult_h
6 #define ContentDecryptionModuleResult_h 6 #define ContentDecryptionModuleResult_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "public/platform/WebContentDecryptionModuleException.h" 9 #include "public/platform/WebContentDecryptionModuleException.h"
10 #include "public/platform/WebContentDecryptionModuleResult.h" 10 #include "public/platform/WebContentDecryptionModuleResult.h"
11 11
12 namespace blink { 12 namespace blink {
13 class WebString; 13 class WebString;
14 } 14 }
15 15
16 namespace WebCore { 16 namespace blink {
17 17
18 // Used to notify completion of a CDM operation. 18 // Used to notify completion of a CDM operation.
19 class ContentDecryptionModuleResult : public GarbageCollectedFinalized<ContentDe cryptionModuleResult> { 19 class ContentDecryptionModuleResult : public GarbageCollectedFinalized<ContentDe cryptionModuleResult> {
20 public: 20 public:
21 virtual ~ContentDecryptionModuleResult() { } 21 virtual ~ContentDecryptionModuleResult() { }
22 22
23 virtual void complete() = 0; 23 virtual void complete() = 0;
24 virtual void completeWithSession(blink::WebContentDecryptionModuleResult::Se ssionStatus) = 0; 24 virtual void completeWithSession(blink::WebContentDecryptionModuleResult::Se ssionStatus) = 0;
25 virtual void completeWithError(blink::WebContentDecryptionModuleException, u nsigned long systemCode, const blink::WebString&) = 0; 25 virtual void completeWithError(blink::WebContentDecryptionModuleException, u nsigned long systemCode, const blink::WebString&) = 0;
26 26
27 blink::WebContentDecryptionModuleResult result() 27 blink::WebContentDecryptionModuleResult result()
28 { 28 {
29 return blink::WebContentDecryptionModuleResult(this); 29 return blink::WebContentDecryptionModuleResult(this);
30 } 30 }
31 31
32 virtual void trace(Visitor*) { } 32 virtual void trace(Visitor*) { }
33 }; 33 };
34 34
35 } // namespace WebCore 35 } // namespace blink
36 36
37 #endif // ContentDecryptionModuleResult_h 37 #endif // ContentDecryptionModuleResult_h
OLDNEW
« no previous file with comments | « Source/platform/ColorSuggestion.h ('k') | Source/platform/ContentType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698