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

Side by Side Diff: public/platform/WebContentDecryptionModuleResult.h

Issue 1249913002: Make ContentDecryptionModuleResult cross-thread destructible. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Follow enum tag naming scheme Created 5 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 | « no previous file | public/platform/WebPrivatePtr.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"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 BLINK_PLATFORM_EXPORT void completeWithError(WebContentDecryptionModuleExcep tion, unsigned long systemCode, const WebString& message); 59 BLINK_PLATFORM_EXPORT void completeWithError(WebContentDecryptionModuleExcep tion, unsigned long systemCode, const WebString& message);
60 60
61 #if INSIDE_BLINK 61 #if INSIDE_BLINK
62 BLINK_PLATFORM_EXPORT explicit WebContentDecryptionModuleResult(ContentDecry ptionModuleResult*); 62 BLINK_PLATFORM_EXPORT explicit WebContentDecryptionModuleResult(ContentDecry ptionModuleResult*);
63 #endif 63 #endif
64 64
65 private: 65 private:
66 BLINK_PLATFORM_EXPORT void reset(); 66 BLINK_PLATFORM_EXPORT void reset();
67 BLINK_PLATFORM_EXPORT void assign(const WebContentDecryptionModuleResult&); 67 BLINK_PLATFORM_EXPORT void assign(const WebContentDecryptionModuleResult&);
68 68
69 WebPrivatePtr<ContentDecryptionModuleResult> m_impl; 69 WebPrivatePtr<ContentDecryptionModuleResult, WebPrivatePtrDestructionCrossTh read> m_impl;
70 }; 70 };
71 71
72 } // namespace blink 72 } // namespace blink
73 73
74 #endif // WebContentDecryptionModuleSession_h 74 #endif // WebContentDecryptionModuleSession_h
OLDNEW
« no previous file with comments | « no previous file | public/platform/WebPrivatePtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698