Commit ad47a949 authored by caitkp's avatar caitkp Committed by Commit bot

Remove WDObjectResult

(nothing uses it anymore)

Review URL: https://codereview.chromium.org/1020283002

Cr-Commit-Position: refs/heads/master@{#321619}
parent a74f4d24
...@@ -114,20 +114,4 @@ template <class T> class WDDestroyableResult : public WDTypedResult { ...@@ -114,20 +114,4 @@ template <class T> class WDDestroyableResult : public WDTypedResult {
DISALLOW_COPY_AND_ASSIGN(WDDestroyableResult); 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_ #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment