Home | History | Annotate | Download | only in gaia
      1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 //
      5 // Constants definitions
      6 
      7 #include "chrome/common/net/gaia/gaia_constants.h"
      8 
      9 namespace GaiaConstants {
     10 
     11 // Gaia uses this for accounting where login is coming from.
     12 const char kChromeOSSource[] = "chromeos";
     13 const char kChromeSource[] = "ChromiumBrowser";
     14 
     15 // Service name for Gaia.  Used to convert to cookie auth.
     16 const char kGaiaService[] = "gaia";
     17 // Service name for Gaia Contacts API. API is used to get user's image.
     18 const char kContactsService[] = "cp";
     19 // Service name for sync.
     20 const char kSyncService[] = "chromiumsync";
     21 // Service name for XMPP Google Talk.
     22 const char kTalkService[] = "talk";
     23 // Service name for remoting.
     24 const char kRemotingService[] = "chromoting";
     25 // Service name for cloud print.
     26 const char kCloudPrintService[] = "cloudprint";
     27 // Service name for device management (cloud-based policy) server.
     28 const char kDeviceManagementService[] = "mobilesync";
     29 
     30 }  // namespace GaiaConstants
     31