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

Side by Side Diff: public/platform/WebContentDecryptionModuleResult.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/WebBlobData.h ('k') | public/platform/WebConvertableToTraceFormat.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 WebContentDecryptionModuleResult_h 5 #ifndef WebContentDecryptionModuleResult_h
6 #define WebContentDecryptionModuleResult_h 6 #define WebContentDecryptionModuleResult_h
7 7
8 #include "WebCommon.h" 8 #include "WebCommon.h"
9 #include "WebContentDecryptionModuleException.h" 9 #include "WebContentDecryptionModuleException.h"
10 #include "WebPrivatePtr.h" 10 #include "WebPrivatePtr.h"
11 11
12 namespace WebCore { 12 namespace blink {
13 class ContentDecryptionModuleResult; 13 class ContentDecryptionModuleResult;
14 } 14 }
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class WebString; 18 class WebString;
19 19
20 class WebContentDecryptionModuleResult { 20 class WebContentDecryptionModuleResult {
21 public: 21 public:
22 enum SessionStatus { 22 enum SessionStatus {
(...skipping 28 matching lines...) Expand all
51 // pass back. 51 // pass back.
52 BLINK_PLATFORM_EXPORT void complete(); 52 BLINK_PLATFORM_EXPORT void complete();
53 53
54 // Called when the CDM completes a session operation. 54 // Called when the CDM completes a session operation.
55 BLINK_PLATFORM_EXPORT void completeWithSession(SessionStatus); 55 BLINK_PLATFORM_EXPORT void completeWithSession(SessionStatus);
56 56
57 // Called when the operation fails. 57 // Called when the operation fails.
58 BLINK_PLATFORM_EXPORT void completeWithError(WebContentDecryptionModuleExcep tion, unsigned long systemCode, const WebString& message); 58 BLINK_PLATFORM_EXPORT void completeWithError(WebContentDecryptionModuleExcep tion, unsigned long systemCode, const WebString& message);
59 59
60 #if INSIDE_BLINK 60 #if INSIDE_BLINK
61 BLINK_PLATFORM_EXPORT explicit WebContentDecryptionModuleResult(WebCore::Con tentDecryptionModuleResult*); 61 BLINK_PLATFORM_EXPORT explicit WebContentDecryptionModuleResult(blink::Conte ntDecryptionModuleResult*);
62 #endif 62 #endif
63 63
64 private: 64 private:
65 BLINK_PLATFORM_EXPORT void reset(); 65 BLINK_PLATFORM_EXPORT void reset();
66 BLINK_PLATFORM_EXPORT void assign(const WebContentDecryptionModuleResult&); 66 BLINK_PLATFORM_EXPORT void assign(const WebContentDecryptionModuleResult&);
67 67
68 WebPrivatePtr<WebCore::ContentDecryptionModuleResult> m_impl; 68 WebPrivatePtr<blink::ContentDecryptionModuleResult> m_impl;
69 }; 69 };
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif // WebContentDecryptionModuleSession_h 73 #endif // WebContentDecryptionModuleSession_h
OLDNEW
« no previous file with comments | « public/platform/WebBlobData.h ('k') | public/platform/WebConvertableToTraceFormat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698