summaryrefslogtreecommitdiffstats
path: root/chrome/common/net/gaia/gaia_constants.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/net/gaia/gaia_constants.cc')
-rw-r--r--chrome/common/net/gaia/gaia_constants.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/chrome/common/net/gaia/gaia_constants.cc b/chrome/common/net/gaia/gaia_constants.cc
new file mode 100644
index 0000000..810055e
--- /dev/null
+++ b/chrome/common/net/gaia/gaia_constants.cc
@@ -0,0 +1,26 @@
+// 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.
+//
+// Constants definitions
+
+#include "chrome/common/net/gaia/gaia_constants.h"
+
+namespace GaiaConstants {
+
+// Gaia uses this for accounting where login is coming from.
+const char kChromeOSSource[] = "chromeos";
+const char kChromeSource[] = "ChromiumBrowser";
+
+// Service name for Gaia Contacts API. API is used to get user's image.
+const char kContactsService[] = "cp";
+// Service name for sync.
+const char kSyncService[] = "chromiumsync";
+// Service name for XMPP Google Talk.
+const char kTalkService[] = "talk";
+// Service name for remoting.
+const char kRemotingService[] = "chromoting";
+// Service name for cloud print.
+const char kCloudPrintService[] = "cloudprint";
+
+} // namespace GaiaConstants