Index: chrome/browser/chromeos/gdata/gdata_auth_service.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_auth_service.h b/chrome/browser/chromeos/gdata/gdata_auth_service.h |
index a79fa236ad80c5d61099b7981696fc346ed98b46..4686e341dc4a9a082c49646243d8d1e97d552785 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_auth_service.h |
+++ b/chrome/browser/chromeos/gdata/gdata_auth_service.h |
@@ -7,12 +7,12 @@ |
#include <string> |
+#include "base/callback.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "base/message_loop_proxy.h" |
#include "base/observer_list.h" |
#include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
-#include "chrome/browser/chromeos/gdata/gdata_params.h" |
#include "chrome/common/net/gaia/oauth2_access_token_fetcher.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -23,6 +23,10 @@ namespace gdata { |
class GDataOperationRegistry; |
+// Callback type for authentication related DocumentService calls. |
+typedef base::Callback<void(GDataErrorCode error, |
+ const std::string& token)> AuthStatusCallback; |
+ |
// This class provides authentication for GData based services. |
// It integrates specific service integration with OAuth2 stack |
// (TokenService) and provides OAuth2 token refresh infrastructure. |