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

Side by Side Diff: content/plugin/plugin_channel.h

Issue 268783004: Revert "Remove kLogPluginMessages flag as part of flag cleanup." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include <vector> 8 #include <vector>
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_handle.h" 10 #include "base/memory/scoped_handle.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void OnDidAbortLoading(int render_view_id); 85 void OnDidAbortLoading(int render_view_id);
86 86
87 std::vector<scoped_refptr<WebPluginDelegateStub> > plugin_stubs_; 87 std::vector<scoped_refptr<WebPluginDelegateStub> > plugin_stubs_;
88 88
89 ScopedChildProcessReference process_ref_; 89 ScopedChildProcessReference process_ref_;
90 90
91 // The id of the renderer who is on the other side of the channel. 91 // The id of the renderer who is on the other side of the channel.
92 int renderer_id_; 92 int renderer_id_;
93 93
94 int in_send_; // Tracks if we're in a Send call. 94 int in_send_; // Tracks if we're in a Send call.
95 bool log_messages_; // True if we should log sent and received messages.
95 bool incognito_; // True if the renderer is in incognito mode. 96 bool incognito_; // True if the renderer is in incognito mode.
96 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. 97 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events.
97 98
98 // Dummy NPP value used in the plugin process to represent entities other 99 // Dummy NPP value used in the plugin process to represent entities other
99 // that other plugin instances for the purpose of object ownership tracking. 100 // that other plugin instances for the purpose of object ownership tracking.
100 scoped_ptr<struct _NPP> npp_; 101 scoped_ptr<struct _NPP> npp_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(PluginChannel); 103 DISALLOW_COPY_AND_ASSIGN(PluginChannel);
103 }; 104 };
104 105
105 } // namespace content 106 } // namespace content
106 107
107 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ 108 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698