OLD | NEW |
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 CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_CDM_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ |
6 #define CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_CDM_MANAGER_H_ | 6 #define CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "content/common/media/cdm_messages_enums.h" | 16 #include "content/common/media/cdm_messages_enums.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 std::map<int, GURL> cdm_security_origin_map_; | 115 std::map<int, GURL> cdm_security_origin_map_; |
116 | 116 |
117 // NOTE: Weak pointers must be invalidated before all other member variables. | 117 // NOTE: Weak pointers must be invalidated before all other member variables. |
118 base::WeakPtrFactory<BrowserCdmManager> weak_ptr_factory_; | 118 base::WeakPtrFactory<BrowserCdmManager> weak_ptr_factory_; |
119 | 119 |
120 DISALLOW_COPY_AND_ASSIGN(BrowserCdmManager); | 120 DISALLOW_COPY_AND_ASSIGN(BrowserCdmManager); |
121 }; | 121 }; |
122 | 122 |
123 } // namespace content | 123 } // namespace content |
124 | 124 |
125 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_CDM_MANAGER_H_ | 125 #endif // CONTENT_BROWSER_MEDIA_CDM_BROWSER_CDM_MANAGER_H_ |
OLD | NEW |