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

Unified Diff: remoting/host/plugin/host_plugin.cc

Issue 290173011: Cleanup: Use base::CommandLine in remoting/ (Closed) Base URL: svn://chrome-svn/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host_main.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/plugin/host_plugin.cc
===================================================================
--- remoting/host/plugin/host_plugin.cc (revision 272152)
+++ remoting/host/plugin/host_plugin.cc (working copy)
@@ -371,7 +371,7 @@
g_at_exit_manager = new base::AtExitManager;
// Init an empty command line for common objects that use it.
- CommandLine::Init(0, NULL);
+ base::CommandLine::Init(0, NULL);
if (remoting::LoadResources("")) {
g_ui_name = new std::string(
@@ -449,7 +449,7 @@
// NP_GetValue() can be called before NP_Initialize().
InitializePlugin();
- switch(variable) {
+ switch (variable) {
default:
VLOG(2) << "GetValue - default " << variable;
return NPERR_GENERIC_ERROR;
@@ -533,10 +533,10 @@
VLOG(2) << "NP_Initialize";
InitializePlugin();
- if(npnetscape_funcs == NULL)
+ if (npnetscape_funcs == NULL)
return NPERR_INVALID_FUNCTABLE_ERROR;
- if(((npnetscape_funcs->version & 0xff00) >> 8) > NP_VERSION_MAJOR)
+ if (((npnetscape_funcs->version & 0xff00) >> 8) > NP_VERSION_MAJOR)
return NPERR_INCOMPATIBLE_VERSION_ERROR;
g_npnetscape_funcs = npnetscape_funcs;
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host_main.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698