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

Side by Side Diff: content/browser/vibration_manager_integration_browsertest.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 #include "content/public/common/service_registry.h" 6 #include "content/public/common/service_registry.h"
7 #include "content/public/test/content_browser_test.h" 7 #include "content/public/test/content_browser_test.h"
8 #include "content/public/test/content_browser_test_utils.h" 8 #include "content/public/test/content_browser_test_utils.h"
9 #include "content/public/test/test_utils.h" 9 #include "content/public/test/test_utils.h"
10 #include "content/shell/browser/shell.h" 10 #include "content/shell/browser/shell.h"
11 #include "content/shell/browser/shell_content_browser_client.h" 11 #include "content/shell/browser/shell_content_browser_client.h"
12 #include "device/vibration/vibration_manager.mojom.h" 12 #include "device/vibration/vibration_manager.mojom.h"
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
14 14
15 // These tests run against a dummy implementation of the VibrationManager 15 // These tests run against a dummy implementation of the VibrationManager
16 // service. That is, they verify that the service implementation is correctly 16 // service. That is, they verify that the service implementation is correctly
17 // exposed to the renderer, whatever the implementation is. 17 // exposed to the renderer, whatever the implementation is.
18 18
19 namespace content { 19 namespace content {
20 20
21 namespace { 21 namespace {
22 22
23 // Global, record milliseconds when Vibrate() got called. 23 // Global, record milliseconds when Vibrate() got called.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 shell()->LoadURL(test_url); 126 shell()->LoadURL(test_url);
127 // Wait until VibrationManager::Cancel() got called. 127 // Wait until VibrationManager::Cancel() got called.
128 g_wait_cancel_runner->Run(); 128 g_wait_cancel_runner->Run();
129 129
130 EXPECT_TRUE(g_cancelled); 130 EXPECT_TRUE(g_cancelled);
131 } 131 }
132 132
133 } // namespace 133 } // namespace
134 134
135 } // namespace content 135 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/browser/wake_lock/wake_lock_service_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698