summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 03:20:47 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 03:20:47 +0000
commit1b55dbaf054b73e5ed509648a5abcd4dd61a0e2d (patch)
treef8264dedeb94330b4147db41a27cc25772fba196 /chrome/browser/sync
parent49220ebc9c99524a640625e21d83e0c04c392d54 (diff)
downloadchromium_src-1b55dbaf054b73e5ed509648a5abcd4dd61a0e2d.zip
chromium_src-1b55dbaf054b73e5ed509648a5abcd4dd61a0e2d.tar.gz
chromium_src-1b55dbaf054b73e5ed509648a5abcd4dd61a0e2d.tar.bz2
Add the default sync service URL.
Review URL: http://codereview.chromium.org/164307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 910563a..7e89449 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -32,9 +32,13 @@
using browser_sync::ModelAssociator;
using browser_sync::SyncBackendHost;
+// Default sync server URL.
+static const char kSyncServerUrl[] = "https://clients4.google.com/chrome-sync";
+
ProfileSyncService::ProfileSyncService(Profile* profile)
: last_auth_error_(AUTH_ERROR_NONE),
profile_(profile),
+ sync_service_url_(kSyncServerUrl),
backend_initialized_(false),
expecting_first_run_auth_needed_event_(false),
is_auth_in_progress_(false),
@@ -72,8 +76,6 @@ void ProfileSyncService::InitSettings() {
<< "is invalid: " << value;
}
}
- } else {
- NOTREACHED() << "--sync-url is required when sync is enabled.";
}
if (command_line.HasSwitch(switches::kSyncServicePort)) {