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

Side by Side Diff: remoting/host/plugin/host_plugin_utils.cc

Issue 7635030: Add PluginMessageLoopProxy and use it for Host plugin UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
OLDNEW
1
awong 2011/08/12 21:15:26 spurious newline.
Sergey Ulanov 2011/08/12 22:45:26 Done.
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 4 // found in the LICENSE file.
4 5
5 #include "remoting/host/plugin/host_plugin_utils.h" 6 #include "remoting/host/plugin/host_plugin_utils.h"
6 7
7 namespace remoting { 8 namespace remoting {
8 9
9 NPNetscapeFuncs* g_npnetscape_funcs = NULL; 10 NPNetscapeFuncs* g_npnetscape_funcs = NULL;
10 11
(...skipping 23 matching lines...) Expand all
34 return variant; 35 return variant;
35 } 36 }
36 37
37 NPObject* ObjectFromNPVariant(const NPVariant& variant) { 38 NPObject* ObjectFromNPVariant(const NPVariant& variant) {
38 if (!NPVARIANT_IS_OBJECT(variant)) 39 if (!NPVARIANT_IS_OBJECT(variant))
39 return NULL; 40 return NULL;
40 return NPVARIANT_TO_OBJECT(variant); 41 return NPVARIANT_TO_OBJECT(variant);
41 } 42 }
42 43
43 } // namespace remoting 44 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698