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

Unified Diff: chrome/common/extensions/command_unittest.cc

Issue 2141753002: [Extensions] Code cleanup - const &s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « chrome/common/extensions/command.h ('k') | chrome/common/extensions/manifest_handlers/automation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/command_unittest.cc
diff --git a/chrome/common/extensions/command_unittest.cc b/chrome/common/extensions/command_unittest.cc
index d5e489aa81942f2cb5c0179f6cd88c36b7e49ecd..5edc4ce21233c082323e69d3da67d63b4389e360 100644
--- a/chrome/common/extensions/command_unittest.cc
+++ b/chrome/common/extensions/command_unittest.cc
@@ -32,7 +32,7 @@ typedef const struct {
// |platform_specific_only| is true, only the latter is tested. |platforms|
// specifies all platforms to use when populating the |suggested_key|
// dictionary.
-void CheckParse(ConstCommandsTestData data,
+void CheckParse(const ConstCommandsTestData& data,
int i,
bool platform_specific_only,
std::vector<std::string>& platforms) {
« no previous file with comments | « chrome/common/extensions/command.h ('k') | chrome/common/extensions/manifest_handlers/automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698