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

Side by Side Diff: remoting/host/plugin/host_script_object.h

Issue 86523005: Replace all usage of LOG(INFO) in Chromoting host with HOST_LOG to bypass the presubmit check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « remoting/host/plugin/host_log_handler.cc ('k') | remoting/host/plugin/host_script_object.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 REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ 5 #ifndef REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_
6 #define REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ 6 #define REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 uint32_t arg_count, 42 uint32_t arg_count,
43 NPVariant* result); 43 NPVariant* result);
44 bool HasProperty(const std::string& property_name); 44 bool HasProperty(const std::string& property_name);
45 bool GetProperty(const std::string& property_name, NPVariant* result); 45 bool GetProperty(const std::string& property_name, NPVariant* result);
46 bool SetProperty(const std::string& property_name, const NPVariant* value); 46 bool SetProperty(const std::string& property_name, const NPVariant* value);
47 bool RemoveProperty(const std::string& property_name); 47 bool RemoveProperty(const std::string& property_name);
48 bool Enumerate(std::vector<std::string>* values); 48 bool Enumerate(std::vector<std::string>* values);
49 49
50 // Post LogDebugInfo to the correct proxy (and thus, on the correct thread). 50 // Post LogDebugInfo to the correct proxy (and thus, on the correct thread).
51 // This should only be called by HostLogHandler. To log to the UI, use the 51 // This should only be called by HostLogHandler. To log to the UI, use the
52 // standard LOG(INFO) and it will be sent to this method. 52 // standard HOST_LOG and it will be sent to this method.
53 void PostLogDebugInfo(const std::string& message); 53 void PostLogDebugInfo(const std::string& message);
54 54
55 void SetWindow(NPWindow* np_window); 55 void SetWindow(NPWindow* np_window);
56 56
57 private: 57 private:
58 ////////////////////////////////////////////////////////// 58 //////////////////////////////////////////////////////////
59 // Plugin methods for It2Me host. 59 // Plugin methods for It2Me host.
60 60
61 // Start connection. args are: 61 // Start connection. args are:
62 // string uid, string auth_token 62 // string uid, string auth_token
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 // Used to cancel pending tasks for this object when it is destroyed. 304 // Used to cancel pending tasks for this object when it is destroyed.
305 base::WeakPtr<HostNPScriptObject> weak_ptr_; 305 base::WeakPtr<HostNPScriptObject> weak_ptr_;
306 base::WeakPtrFactory<HostNPScriptObject> weak_factory_; 306 base::WeakPtrFactory<HostNPScriptObject> weak_factory_;
307 307
308 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); 308 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject);
309 }; 309 };
310 310
311 } // namespace remoting 311 } // namespace remoting
312 312
313 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ 313 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_
OLDNEW
« no previous file with comments | « remoting/host/plugin/host_log_handler.cc ('k') | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698