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

Side by Side Diff: chrome/browser/service_process/service_process_control_browsertest.cc

Issue 57383010: Rename service subdir under chrome/browser to service_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/service/service_process_control.h" 5 #include "chrome/browser/service_process/service_process_control.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/process/kill.h" 11 #include "base/process/kill.h"
12 #include "base/process/process_handle.h" 12 #include "base/process/process_handle.h"
13 #include "base/process/process_iterator.h" 13 #include "base/process/process_iterator.h"
14 #include "base/test/test_timeouts.h" 14 #include "base/test/test_timeouts.h"
15 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // Callback should not be called during GetHistograms call. 285 // Callback should not be called during GetHistograms call.
286 EXPECT_CALL(*this, MockHistogramsCallback()).Times(0); 286 EXPECT_CALL(*this, MockHistogramsCallback()).Times(0);
287 // Wait for real callback by providing large timeout value. 287 // Wait for real callback by providing large timeout value.
288 EXPECT_TRUE(ServiceProcessControl::GetInstance()->GetHistograms( 288 EXPECT_TRUE(ServiceProcessControl::GetInstance()->GetHistograms(
289 base::Bind(&ServiceProcessControlBrowserTest::HistogramsCallback, 289 base::Bind(&ServiceProcessControlBrowserTest::HistogramsCallback,
290 base::Unretained(this)), 290 base::Unretained(this)),
291 base::TimeDelta::FromHours(1))); 291 base::TimeDelta::FromHours(1)));
292 EXPECT_CALL(*this, MockHistogramsCallback()).Times(1); 292 EXPECT_CALL(*this, MockHistogramsCallback()).Times(1);
293 content::RunMessageLoop(); 293 content::RunMessageLoop();
294 } 294 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698