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

Side by Side Diff: chrome/renderer/plugins/chrome_plugin_placeholder.h

Issue 1995983002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ 5 #ifndef CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_
6 #define CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ 6 #define CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void OnCancelledDownloadingPlugin(); 105 void OnCancelledDownloadingPlugin();
106 #endif 106 #endif
107 107
108 ChromeViewHostMsg_GetPluginInfo_Status status_; 108 ChromeViewHostMsg_GetPluginInfo_Status status_;
109 109
110 base::string16 title_; 110 base::string16 title_;
111 111
112 #if defined(ENABLE_PLUGIN_INSTALLATION) 112 #if defined(ENABLE_PLUGIN_INSTALLATION)
113 // |routing_id()| is the routing ID of our associated RenderView, but we have 113 // |routing_id()| is the routing ID of our associated RenderView, but we have
114 // a separate routing ID for messages specific to this placeholder. 114 // a separate routing ID for messages specific to this placeholder.
115 int32_t placeholder_routing_id_; 115 int32_t placeholder_routing_id_ = MSG_ROUTING_NONE;
116
117 bool has_host_ = false;
116 #endif 118 #endif
117 119
118 bool has_host_;
119 int context_menu_request_id_; // Nonzero when request pending. 120 int context_menu_request_id_; // Nonzero when request pending.
120 base::string16 plugin_name_; 121 base::string16 plugin_name_;
121 122
122 bool ignore_updates_; 123 bool ignore_updates_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder); 125 DISALLOW_COPY_AND_ASSIGN(ChromePluginPlaceholder);
125 }; 126 };
126 127
127 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_ 128 #endif // CHROME_RENDERER_PLUGINS_CHROME_PLUGIN_PLACEHOLDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698