Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Unified Diff: components/signin/core/browser/webdata/token_web_data.h

Issue 2672833002: [Desktop] Add diagnostics about loading the refresh tokens. (Closed)
Patch Set: Fix compile Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/signin/core/browser/webdata/token_web_data.h
diff --git a/components/signin/core/browser/webdata/token_web_data.h b/components/signin/core/browser/webdata/token_web_data.h
index ceec9cdcc86073a8447fe06fbf1b6370ff0c24a9..f47f371c2529c9ba545eb9183be56c893b60fa40 100644
--- a/components/signin/core/browser/webdata/token_web_data.h
+++ b/components/signin/core/browser/webdata/token_web_data.h
@@ -18,6 +18,7 @@
#include "base/location.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "components/signin/core/browser/webdata/token_service_table.h"
#include "components/webdata/common/web_data_results.h"
#include "components/webdata/common/web_data_service_base.h"
#include "components/webdata/common/web_data_service_consumer.h"
@@ -31,6 +32,16 @@ class TokenWebDataBackend;
class WebDatabaseService;
class WebDataServiceConsumer;
+// The result of a get tokens operation.
+struct TokenResult {
+ TokenResult();
+ TokenResult(const TokenResult& other);
+ ~TokenResult();
+
+ TokenServiceTable::Result db_result;
+ std::map<std::string, std::string> tokens;
+};
+
// TokenWebData is a data repository for storage of authentication tokens.
class TokenWebData : public WebDataServiceBase {

Powered by Google App Engine
This is Rietveld 408576698