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

Unified Diff: chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc

Issue 1180373004: Cleanup: Remove various DoNothing functions and use base::DoNothing(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | net/spdy/spdy_stream_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc
diff --git a/chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc b/chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc
index 493275b5e0a5fb3917009685d70a7743e13ef066..e485602523dc39cc9b84f2339ed187bab8f6dc14 100644
--- a/chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc
+++ b/chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc
@@ -5,22 +5,16 @@
#include "chrome/browser/metrics/variations/variations_request_scheduler.h"
#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "base/message_loop/message_loop.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace chrome_variations {
-namespace {
-
-void DoNothing() {
-}
-
-} // namespace
-
TEST(VariationsRequestSchedulerTest, ScheduleFetchShortly) {
base::MessageLoopForUI message_loop_;
- const base::Closure task = base::Bind(&DoNothing);
+ const base::Closure task = base::Bind(&base::DoNothing);
VariationsRequestScheduler scheduler(task);
EXPECT_FALSE(scheduler.one_shot_timer_.IsRunning());
« no previous file with comments | « no previous file | net/spdy/spdy_stream_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698