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

Unified Diff: chrome/browser/extensions/activity_log/activity_actions.cc

Issue 23449016: Update tests to check fields directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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
Index: chrome/browser/extensions/activity_log/activity_actions.cc
diff --git a/chrome/browser/extensions/activity_log/activity_actions.cc b/chrome/browser/extensions/activity_log/activity_actions.cc
index 186cbb51c8d65b4ef943a2ab1903665773283395..911b8acad6506626dd3412d8f3d504669598ad13 100644
--- a/chrome/browser/extensions/activity_log/activity_actions.cc
+++ b/chrome/browser/extensions/activity_log/activity_actions.cc
@@ -51,7 +51,8 @@ Action::Action(const std::string& extension_id,
action_type_(action_type),
api_name_(api_name),
page_incognito_(false),
- arg_incognito_(false) {}
+ arg_incognito_(false),
+ count_(0) {}
Action::~Action() {}
@@ -230,6 +231,7 @@ std::string Action::PrintForDebug() const {
result += " OTHER=" + Serialize(other_.get());
}
+ result += base::StringPrintf(" COUNT=%d", count_);
return result;
}

Powered by Google App Engine
This is Rietveld 408576698