Index: chrome/browser/extensions/activity_log/activity_actions.h |
diff --git a/chrome/browser/extensions/activity_log/activity_actions.h b/chrome/browser/extensions/activity_log/activity_actions.h |
index c5cd7ab08044f89c88b31dcfa915239a569e4aba..3c8b278b8e77f5bfd08db2b9818cc44aad46e616 100644 |
--- a/chrome/browser/extensions/activity_log/activity_actions.h |
+++ b/chrome/browser/extensions/activity_log/activity_actions.h |
@@ -108,6 +108,10 @@ class Action : public base::RefCountedThreadSafe<Action> { |
std::string SerializeArgUrl() const; |
void ParseArgUrl(const std::string& url); |
+ // Number of merged records for this action. |
+ int count() const { return count_; } |
+ void set_count(int count) { count_ = count; } |
+ |
// Flatten the activity's type-specific fields into an ExtensionActivity. |
scoped_ptr<api::activity_log_private::ExtensionActivity> |
ConvertToExtensionActivity(); |
@@ -132,6 +136,7 @@ class Action : public base::RefCountedThreadSafe<Action> { |
GURL arg_url_; |
bool arg_incognito_; |
scoped_ptr<DictionaryValue> other_; |
+ int count_; |
DISALLOW_COPY_AND_ASSIGN(Action); |
}; |