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

Unified Diff: chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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/ui/cocoa/history_menu_bridge_unittest.mm
diff --git a/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm b/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm
index fcc4528de02c5cfd477b764681a477134437007b..230e722de90524dffe298268c6def4407021fe4a 100644
--- a/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm
+++ b/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm
@@ -26,13 +26,14 @@ namespace {
class MockTRS : public PersistentTabRestoreService {
public:
- MockTRS(Profile* profile) : PersistentTabRestoreService(profile, NULL) {}
+ explicit MockTRS(Profile* profile)
+ : PersistentTabRestoreService(profile, NULL) {}
MOCK_CONST_METHOD0(entries, const TabRestoreService::Entries&());
};
class MockBridge : public HistoryMenuBridge {
public:
- MockBridge(Profile* profile)
+ explicit MockBridge(Profile* profile)
: HistoryMenuBridge(profile),
menu_([[NSMenu alloc] initWithTitle:@"History"]) {}

Powered by Google App Engine
This is Rietveld 408576698