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

Side by Side Diff: components/signin/core/browser/webdata/token_web_data.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Chromium settings and storage represent user-selected preferences and 5 // Chromium settings and storage represent user-selected preferences and
6 // information and MUST not be extracted, overwritten or modified except 6 // information and MUST not be extracted, overwritten or modified except
7 // through Chromium defined APIs. 7 // through Chromium defined APIs.
8 8
9 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_WEBDATA_TOKEN_WEB_DATA_H__ 9 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_WEBDATA_TOKEN_WEB_DATA_H__
10 #define COMPONENTS_SIGNIN_CORE_BROWSER_WEBDATA_TOKEN_WEB_DATA_H__ 10 #define COMPONENTS_SIGNIN_CORE_BROWSER_WEBDATA_TOKEN_WEB_DATA_H__
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Removes a token related to |service| from the web database. 52 // Removes a token related to |service| from the web database.
53 void RemoveTokenForService(const std::string& service); 53 void RemoveTokenForService(const std::string& service);
54 54
55 // Null on failure. Success is WDResult<std::vector<std::string> > 55 // Null on failure. Success is WDResult<std::vector<std::string> >
56 virtual Handle GetAllTokens(WebDataServiceConsumer* consumer); 56 virtual Handle GetAllTokens(WebDataServiceConsumer* consumer);
57 57
58 protected: 58 protected:
59 // For unit tests, passes a null callback. 59 // For unit tests, passes a null callback.
60 TokenWebData(); 60 TokenWebData();
61 61
62 virtual ~TokenWebData(); 62 ~TokenWebData() override;
63 63
64 private: 64 private:
65 scoped_refptr<TokenWebDataBackend> token_backend_; 65 scoped_refptr<TokenWebDataBackend> token_backend_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(TokenWebData); 67 DISALLOW_COPY_AND_ASSIGN(TokenWebData);
68 }; 68 };
69 69
70 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_WEBDATA_TOKEN_WEB_DATA_H__ 70 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_WEBDATA_TOKEN_WEB_DATA_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698