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 CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ | 5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ |
6 #define CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ | 6 #define CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" |
12 #include "ppapi/c/pp_instance.h" | 15 #include "ppapi/c/pp_instance.h" |
13 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
14 #include "ppapi/host/resource_host.h" | 17 #include "ppapi/host/resource_host.h" |
15 #include "url/gurl.h" | 18 #include "url/gurl.h" |
16 | 19 |
17 namespace content { | 20 namespace content { |
18 class RendererPpapiHost; | 21 class RendererPpapiHost; |
19 } | 22 } |
20 | 23 |
21 namespace ppapi { | 24 namespace ppapi { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 std::set<std::string> allowed_origins_; | 73 std::set<std::string> allowed_origins_; |
71 // Set of hashed histogram prefixes that can be used from this interface. | 74 // Set of hashed histogram prefixes that can be used from this interface. |
72 std::set<std::string> allowed_histogram_prefixes_; | 75 std::set<std::string> allowed_histogram_prefixes_; |
73 // Set of plugin files names that are allowed to use this interface. | 76 // Set of plugin files names that are allowed to use this interface. |
74 std::set<std::string> allowed_plugin_base_names_; | 77 std::set<std::string> allowed_plugin_base_names_; |
75 | 78 |
76 DISALLOW_COPY_AND_ASSIGN(PepperUMAHost); | 79 DISALLOW_COPY_AND_ASSIGN(PepperUMAHost); |
77 }; | 80 }; |
78 | 81 |
79 #endif // CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ | 82 #endif // CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ |
OLD | NEW |