summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 21:04:49 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 21:04:49 +0000
commite57d57b67290c8dfd701ac5021264a9ae1588b81 (patch)
treed419061b3690fd591a87aff809096f120f201d46 /chrome/common
parent8e303b21eb3e190b420e82a15d5d151bc8df0dd4 (diff)
downloadchromium_src-e57d57b67290c8dfd701ac5021264a9ae1588b81.zip
chromium_src-e57d57b67290c8dfd701ac5021264a9ae1588b81.tar.gz
chromium_src-e57d57b67290c8dfd701ac5021264a9ae1588b81.tar.bz2
Start/stop service process when browser starts and stop
Save the information that the setup of remoting has completed. After setup has been completed we start and stop service process when --enable-remoting presents when browser starts. Also save the information in the service process that host is registered and ready to be used. Again start chromoting host automatically once the host registration is done. Review URL: http://codereview.chromium.org/3185015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/pref_names.cc5
-rw-r--r--chrome/common/pref_names.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 02f92424..16aa70e 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -914,6 +914,8 @@ const char kLoginDatabaseMigrated[] = "login_database.migrated";
// The root URL of the cloud print service.
const char kCloudPrintServiceURL[] = "cloud_print.service_url";
+const char kRemotingHasSetupCompleted[] = "remoting.has_setup_completed";
+
// The list of BackgroundContents that should be loaded when the browser
// launches.
const char kRegisteredBackgroundContents[] = "background_contents.registered";
@@ -935,6 +937,9 @@ extern const char kCloudPrintEmail[] = "cloud_print.email";
extern const char kCloudPrintPrintSystemSettings[] =
"cloud_print.print_system_settings";
+// Used by the service process to determine if the remoting host is enabled.
+const char kRemotingHostEnabled[] = "remoting.host_enabled";
+
// Boolean to disable proxy altogether. If true, other proxy
// preferences are ignored.
const char kNoProxyServer[] = "proxy.disabled";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 18503a0..58d5741 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -353,6 +353,9 @@ extern const char kCloudPrintXMPPAuthToken[];
extern const char kCloudPrintEmail[];
extern const char kCloudPrintPrintSystemSettings[];
+extern const char kRemotingHasSetupCompleted[];
+extern const char kRemotingHostEnabled[];
+
extern const char kNoProxyServer[];
extern const char kProxyAutoDetect[];
extern const char kProxyServer[];