summaryrefslogtreecommitdiffstats
path: root/sync/protocol/service_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'sync/protocol/service_constants.h')
-rw-r--r--sync/protocol/service_constants.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/sync/protocol/service_constants.h b/sync/protocol/service_constants.h
new file mode 100644
index 0000000..83a65b1
--- /dev/null
+++ b/sync/protocol/service_constants.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2012 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.
+//
+// Product-specific constants.
+
+#ifndef SYNC_PROTOCOL_SERVICE_CONSTANTS_H_
+#define SYNC_PROTOCOL_SERVICE_CONSTANTS_H_
+#pragma once
+
+// These fixed service names are used to obtain auth cookies for the
+// corresponding services. It might be interesting to make these updateable
+// as well as have the ability to add new ones.
+#define SYNC_SERVICE_NAME "chromiumsync"
+
+#define DEFAULT_SIGNIN_DOMAIN "gmail.com"
+
+#define PRODUCT_NAME_STRING_NARROW "Chromium Browser Sync"
+
+#define PRODUCT_NAME_STRING PRODUCT_NAME_STRING_NARROW
+#define PRODUCT_NAME_STRING_WIDE L##PRODUCT_NAME_STRING
+
+#endif // SYNC_PROTOCOL_SERVICE_CONSTANTS_H_