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

Unified Diff: components/webdata/common/web_data_results.h

Issue 1020283002: Remove WDObjectResult (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webdata/common/web_data_results.h
diff --git a/components/webdata/common/web_data_results.h b/components/webdata/common/web_data_results.h
index 6d454335ce8b5927754b33c2d999a33af23be42e..46d15ceab4408ee5d4253f09cfb48b2db0c6e4a9 100644
--- a/components/webdata/common/web_data_results.h
+++ b/components/webdata/common/web_data_results.h
@@ -114,20 +114,4 @@ template <class T> class WDDestroyableResult : public WDTypedResult {
DISALLOW_COPY_AND_ASSIGN(WDDestroyableResult);
};
-template <class T> class WDObjectResult : public WDTypedResult {
- public:
- explicit WDObjectResult(WDResultType type)
- : WDTypedResult(type) {
- }
-
- T* GetValue() const {
- return &value_;
- }
-
- private:
- // mutable to keep GetValue() const.
- mutable T value_;
- DISALLOW_COPY_AND_ASSIGN(WDObjectResult);
-};
-
#endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698