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 CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 5 #ifndef CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_handle.h" | 10 #include "base/memory/scoped_handle.h" |
12 #include "base/process.h" | 11 #include "base/process.h" |
13 #include "build/build_config.h" | 12 #include "build/build_config.h" |
14 #include "content/common/np_channel_base.h" | 13 #include "content/common/np_channel_base.h" |
15 #include "content/plugin/webplugin_delegate_stub.h" | 14 #include "content/plugin/webplugin_delegate_stub.h" |
16 | 15 |
17 namespace base { | 16 namespace base { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 88 |
90 int in_send_; // Tracks if we're in a Send call. | 89 int in_send_; // Tracks if we're in a Send call. |
91 bool log_messages_; // True if we should log sent and received messages. | 90 bool log_messages_; // True if we should log sent and received messages. |
92 bool incognito_; // True if the renderer is in incognito mode. | 91 bool incognito_; // True if the renderer is in incognito mode. |
93 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. | 92 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. |
94 | 93 |
95 DISALLOW_COPY_AND_ASSIGN(PluginChannel); | 94 DISALLOW_COPY_AND_ASSIGN(PluginChannel); |
96 }; | 95 }; |
97 | 96 |
98 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 97 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
OLD | NEW |