Index: chrome/common/net/gaia/gaia_constants.cc |
diff --git a/chrome/common/net/gaia/gaia_constants.cc b/chrome/common/net/gaia/gaia_constants.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dcd32aa78bc52fba08163614ad598d2626e74d0e |
--- /dev/null |
+++ b/chrome/common/net/gaia/gaia_constants.cc |
@@ -0,0 +1,22 @@ |
+// 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"; |
+ |
+} // namespace GaiaConstants |