diff options
author | chron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 21:44:43 +0000 |
---|---|---|
committer | chron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 21:44:43 +0000 |
commit | 5de3c6834b77d8b3eeec7b5d7175a2ab246ea234 (patch) | |
tree | d07b8ff32badac7913311f67bf1354403fea0f35 /chrome/common/net/gaia/gaia_constants.h | |
parent | c9206275ca3f57888fcf9da96c647d8fcf67ff3f (diff) | |
download | chromium_src-5de3c6834b77d8b3eeec7b5d7175a2ab246ea234.zip chromium_src-5de3c6834b77d8b3eeec7b5d7175a2ab246ea234.tar.gz chromium_src-5de3c6834b77d8b3eeec7b5d7175a2ab246ea234.tar.bz2 |
The token service should now support issuing auth tokens.
The service will fetch tokens in the background and broadcast notifications after it's done.
Move some common constants out into a new file.
Modify TestNotificationTracker to support subclassing as it doesn't properly make a deep copy of notifications on the stack.
TEST=unit tests included
BUG=47093
Review URL: http://codereview.chromium.org/3024002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/net/gaia/gaia_constants.h')
-rw-r--r-- | chrome/common/net/gaia/gaia_constants.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/common/net/gaia/gaia_constants.h b/chrome/common/net/gaia/gaia_constants.h new file mode 100644 index 0000000..45ac3c8 --- /dev/null +++ b/chrome/common/net/gaia/gaia_constants.h @@ -0,0 +1,23 @@ +// 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 used by IssueAuthToken and ClientLogin + +#ifndef CHROME_COMMON_NET_GAIA_GAIA_CONSTANTS_H_ +#define CHROME_COMMON_NET_GAIA_GAIA_CONSTANTS_H_ + +namespace GaiaConstants { + +// Gaia sources for accounting +extern const char kChromeOSSource[]; +extern const char kChromeSource[]; + +// Gaia services for requesting +extern const char kContactsService[]; +extern const char kTalkService[]; +extern const char kSyncService[]; + +} // namespace GaiaConstants + +#endif // CHROME_COMMON_NET_GAIA_GAIA_CONSTANTS_H_ |