summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_constants.cc
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 19:52:35 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 19:52:35 +0000
commit50c5beddbb7839e02367542a58b7d43132f392f7 (patch)
tree5a0d11c695052adeaf4d55dc73c977f540d0b84c /chrome/browser/sync/sync_constants.cc
parentf21cf2cfe34186333a591ee0788072889c2eaa3e (diff)
downloadchromium_src-50c5beddbb7839e02367542a58b7d43132f392f7.zip
chromium_src-50c5beddbb7839e02367542a58b7d43132f392f7.tar.gz
chromium_src-50c5beddbb7839e02367542a58b7d43132f392f7.tar.bz2
More refactoring of TalkMediator and related classes to make them generic. There is only one functional change in this changelist. This is the removal of the mediator_thread_->SendNotification call from TalkMediatorImpl::OnSubscriptionSuccess. Please review this part extra carefully.
BUG=None TEST=Test Bookmarks Sync, sync unit-tests have been modified. Review URL: http://codereview.chromium.org/1790004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46109 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/sync_constants.cc')
-rw-r--r--chrome/browser/sync/sync_constants.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/browser/sync/sync_constants.cc b/chrome/browser/sync/sync_constants.cc
new file mode 100644
index 0000000..923d2b3
--- /dev/null
+++ b/chrome/browser/sync/sync_constants.cc
@@ -0,0 +1,17 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/sync/sync_constants.h"
+
+namespace browser_sync {
+
+const char kSyncLegacyServiceUrl[] = "google:notifier";
+const char kSyncServiceUrl[] = "http://www.google.com/chrome/sync";
+const char kSyncLegacyServiceId[] = "notification";
+const char kSyncServiceId[] = "sync-ping";
+const int kSyncPriority = 200;
+const char kSyncServiceSpecificData[] = "sync-ping-p2p";
+
+} // namespace browser_sync
+