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

Side by Side Diff: ppapi/proxy/plugin_dispatcher.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « net/websockets/websocket_job_spdy3_unittest.cc ('k') | ppapi/proxy/plugin_var_tracker.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 #include "ppapi/proxy/plugin_dispatcher.h" 5 #include "ppapi/proxy/plugin_dispatcher.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } // namespace 49 } // namespace
50 50
51 InstanceData::InstanceData() 51 InstanceData::InstanceData()
52 : flash_fullscreen(PP_FALSE), 52 : flash_fullscreen(PP_FALSE),
53 is_request_surrounding_text_pending(false), 53 is_request_surrounding_text_pending(false),
54 should_do_request_surrounding_text(false) { 54 should_do_request_surrounding_text(false) {
55 } 55 }
56 56
57 InstanceData::~InstanceData() { 57 InstanceData::~InstanceData() {
58 // Run any pending mouse lock callback to prevent leaks. 58 // Run any pending mouse lock callback to prevent leaks.
59 if (mouse_lock_callback) 59 if (mouse_lock_callback.get())
60 mouse_lock_callback->Abort(); 60 mouse_lock_callback->Abort();
61 } 61 }
62 62
63 PluginDispatcher::PluginDispatcher(PP_GetInterface_Func get_interface, 63 PluginDispatcher::PluginDispatcher(PP_GetInterface_Func get_interface,
64 const PpapiPermissions& permissions, 64 const PpapiPermissions& permissions,
65 bool incognito) 65 bool incognito)
66 : Dispatcher(get_interface, permissions), 66 : Dispatcher(get_interface, permissions),
67 plugin_delegate_(NULL), 67 plugin_delegate_(NULL),
68 received_preferences_(false), 68 received_preferences_(false),
69 plugin_dispatcher_id_(0), 69 plugin_dispatcher_id_(0),
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // once they're set. The user will have to restart to get new font prefs 327 // once they're set. The user will have to restart to get new font prefs
328 // propogated to plugins. 328 // propogated to plugins.
329 if (!received_preferences_) { 329 if (!received_preferences_) {
330 received_preferences_ = true; 330 received_preferences_ = true;
331 preferences_ = prefs; 331 preferences_ = prefs;
332 } 332 }
333 } 333 }
334 334
335 } // namespace proxy 335 } // namespace proxy
336 } // namespace ppapi 336 } // namespace ppapi
OLDNEW
« no previous file with comments | « net/websockets/websocket_job_spdy3_unittest.cc ('k') | ppapi/proxy/plugin_var_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698