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

Side by Side Diff: components/webdata/common/web_data_results.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_ 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_
6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_ 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "components/webdata/common/webdata_export.h" 13 #include "components/webdata/common/webdata_export.h"
14 14
15 class WDTypedResult; 15 class WDTypedResult;
16 16
17 // 17 //
18 // Result types for WebDataService. 18 // Result types for WebDataService.
19 // 19 //
20 typedef enum { 20 typedef enum {
21 BOOL_RESULT = 1, // WDResult<bool> 21 BOOL_RESULT = 1, // WDResult<bool>
22 KEYWORDS_RESULT, // WDResult<WDKeywordsResult> 22 KEYWORDS_RESULT, // WDResult<WDKeywordsResult>
23 INT64_RESULT, // WDResult<int64_t> 23 INT64_RESULT, // WDResult<int64_t>
24 #if defined(OS_WIN) // 24 #if defined(OS_WIN) //
25 PASSWORD_IE7_RESULT, // WDResult<IE7PasswordInfo> 25 PASSWORD_IE7_RESULT, // WDResult<IE7PasswordInfo>
26 #endif // 26 #endif //
27 WEB_APP_IMAGES, // WDResult<WDAppImagesResult> 27 WEB_APP_IMAGES, // WDResult<WDAppImagesResult>
28 TOKEN_RESULT, // WDResult<std::vector<std::string>> 28 TOKEN_RESULT, // WDResult<TokenResult>
29 AUTOFILL_VALUE_RESULT, // WDResult<std::vector<base::string16>> 29 AUTOFILL_VALUE_RESULT, // WDResult<std::vector<base::string16>>
30 AUTOFILL_CHANGES, // WDResult<std::vector<AutofillChange>> 30 AUTOFILL_CHANGES, // WDResult<std::vector<AutofillChange>>
31 AUTOFILL_PROFILE_RESULT, // WDResult<AutofillProfile> 31 AUTOFILL_PROFILE_RESULT, // WDResult<AutofillProfile>
32 AUTOFILL_PROFILES_RESULT, // WDResult<std::vector< 32 AUTOFILL_PROFILES_RESULT, // WDResult<std::vector<
33 // std::unique_ptr<AutofillProfile>>> 33 // std::unique_ptr<AutofillProfile>>>
34 AUTOFILL_CREDITCARD_RESULT, // WDResult<CreditCard> 34 AUTOFILL_CREDITCARD_RESULT, // WDResult<CreditCard>
35 AUTOFILL_CREDITCARDS_RESULT, // WDResult<std::vector< 35 AUTOFILL_CREDITCARDS_RESULT, // WDResult<std::vector<
36 // std::unique_ptr<CreditCard>>> 36 // std::unique_ptr<CreditCard>>>
37 } WDResultType; 37 } WDResultType;
38 38
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 const T& GetValue() const { return value_; } 72 const T& GetValue() const { return value_; }
73 T GetValue() { return std::move(value_); } 73 T GetValue() { return std::move(value_); }
74 74
75 private: 75 private:
76 T value_; 76 T value_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(WDResult); 78 DISALLOW_COPY_AND_ASSIGN(WDResult);
79 }; 79 };
80 80
81 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_ 81 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_
OLDNEW
« no previous file with comments | « components/signin/core/browser/webdata/token_web_data.cc ('k') | google_apis/gaia/oauth2_token_service_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698