| Index: components/feedback/feedback_common.h
|
| diff --git a/components/feedback/feedback_common.h b/components/feedback/feedback_common.h
|
| index fadb6bf38a4c6dee510e7b9784b3c3b3955520c2..7c6d56da19e5063843cf083f32fc029443c1a1bb 100644
|
| --- a/components/feedback/feedback_common.h
|
| +++ b/components/feedback/feedback_common.h
|
| @@ -100,12 +100,15 @@ class FeedbackCommon : public base::RefCountedThreadSafe<FeedbackCommon> {
|
| void set_locale(const std::string& locale) { locale_ = locale; }
|
|
|
| protected:
|
| + virtual ~FeedbackCommon();
|
| +
|
| + private:
|
| friend class base::RefCountedThreadSafe<FeedbackCommon>;
|
| friend class FeedbackCommonTest;
|
|
|
| - virtual ~FeedbackCommon();
|
| + // Returns true if a product ID was set in the feedback report.
|
| + bool HasProductId() const { return product_id_ != -1; }
|
|
|
| - private:
|
| std::string category_tag_;
|
| std::string page_url_;
|
| std::string description_;
|
|
|