OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ |
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "base/prefs/pref_member.h" | 15 #include "base/prefs/pref_member.h" |
15 #include "base/sequenced_task_runner_helpers.h" | 16 #include "base/sequenced_task_runner_helpers.h" |
16 #include "chrome/browser/plugins/plugin_prefs.h" | 17 #include "chrome/browser/plugins/plugin_prefs.h" |
17 #include "components/content_settings/core/common/content_settings.h" | 18 #include "components/content_settings/core/common/content_settings.h" |
18 #include "content/public/browser/browser_message_filter.h" | 19 #include "content/public/browser/browser_message_filter.h" |
19 | 20 |
20 struct ChromeViewHostMsg_GetPluginInfo_Output; | 21 struct ChromeViewHostMsg_GetPluginInfo_Output; |
21 enum class ChromeViewHostMsg_GetPluginInfo_Status; | 22 enum class ChromeViewHostMsg_GetPluginInfo_Status; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 126 |
126 Context context_; | 127 Context context_; |
127 | 128 |
128 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 129 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
129 base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_; | 130 base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_; |
130 | 131 |
131 DISALLOW_COPY_AND_ASSIGN(PluginInfoMessageFilter); | 132 DISALLOW_COPY_AND_ASSIGN(PluginInfoMessageFilter); |
132 }; | 133 }; |
133 | 134 |
134 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ | 135 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_ |
OLD | NEW |