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

Side by Side Diff: Source/modules/encryptedmedia/MediaKeysClient.h

Issue 1315743003: [part 1] Make classes and structures in modules/ fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 #ifndef MediaKeysClient_h 5 #ifndef MediaKeysClient_h
6 #define MediaKeysClient_h 6 #define MediaKeysClient_h
7 7
8 #include "wtf/FastAllocBase.h"
9
8 namespace blink { 10 namespace blink {
9 11
10 class ExecutionContext; 12 class ExecutionContext;
11 class WebEncryptedMediaClient; 13 class WebEncryptedMediaClient;
12 14
13 class MediaKeysClient { 15 class MediaKeysClient {
16 WTF_MAKE_FAST_ALLOCATED(MediaKeysClient);
14 public: 17 public:
15 virtual WebEncryptedMediaClient* encryptedMediaClient(ExecutionContext*) = 0 ; 18 virtual WebEncryptedMediaClient* encryptedMediaClient(ExecutionContext*) = 0 ;
16 19
17 protected: 20 protected:
18 virtual ~MediaKeysClient() { } 21 virtual ~MediaKeysClient() { }
19 }; 22 };
20 23
21 } // namespace blink 24 } // namespace blink
22 25
23 #endif // MediaKeysClient_h 26 #endif // MediaKeysClient_h
OLDNEW
« no previous file with comments | « Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h ('k') | Source/modules/encryptedmedia/MediaKeysController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698