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

Side by Side Diff: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc

Issue 2459823002: [Sync] Rename syncable_prefs to sync_preferences. (Closed)
Patch Set: Created 4 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 (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 // Create a service process that uses a Mock to respond to the browser in order 5 // Create a service process that uses a Mock to respond to the browser in order
6 // to test launching the browser using the cloud print policy check command 6 // to test launching the browser using the cloud print policy check command
7 // line switch. 7 // line switch.
8 8
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 26 matching lines...) Expand all
37 #include "chrome/common/service_messages.h" 37 #include "chrome/common/service_messages.h"
38 #include "chrome/common/service_process_util.h" 38 #include "chrome/common/service_process_util.h"
39 #include "chrome/service/service_ipc_server.h" 39 #include "chrome/service/service_ipc_server.h"
40 #include "chrome/service/service_process.h" 40 #include "chrome/service/service_process.h"
41 #include "chrome/test/base/chrome_unit_test_suite.h" 41 #include "chrome/test/base/chrome_unit_test_suite.h"
42 #include "chrome/test/base/test_launcher_utils.h" 42 #include "chrome/test/base/test_launcher_utils.h"
43 #include "chrome/test/base/testing_browser_process.h" 43 #include "chrome/test/base/testing_browser_process.h"
44 #include "chrome/test/base/testing_io_thread_state.h" 44 #include "chrome/test/base/testing_io_thread_state.h"
45 #include "chrome/test/base/testing_profile.h" 45 #include "chrome/test/base/testing_profile.h"
46 #include "chrome/test/base/testing_profile_manager.h" 46 #include "chrome/test/base/testing_profile_manager.h"
47 #include "components/syncable_prefs/testing_pref_service_syncable.h" 47 #include "components/sync_preferences/testing_pref_service_syncable.h"
48 #include "content/public/browser/notification_service.h" 48 #include "content/public/browser/notification_service.h"
49 #include "content/public/common/content_paths.h" 49 #include "content/public/common/content_paths.h"
50 #include "content/public/test/test_browser_thread_bundle.h" 50 #include "content/public/test/test_browser_thread_bundle.h"
51 #include "content/public/test/test_utils.h" 51 #include "content/public/test/test_utils.h"
52 #include "ipc/ipc_channel_mojo.h" 52 #include "ipc/ipc_channel_mojo.h"
53 #include "mojo/edk/embedder/embedder.h" 53 #include "mojo/edk/embedder/embedder.h"
54 #include "mojo/edk/embedder/named_platform_handle.h" 54 #include "mojo/edk/embedder/named_platform_handle.h"
55 #include "mojo/edk/embedder/named_platform_handle_utils.h" 55 #include "mojo/edk/embedder/named_platform_handle_utils.h"
56 #include "mojo/edk/embedder/scoped_ipc_support.h" 56 #include "mojo/edk/embedder/scoped_ipc_support.h"
57 #include "testing/gmock/include/gmock/gmock.h" 57 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 // constructed. 534 // constructed.
535 chrome::TestingIOThreadState testing_io_thread_state; 535 chrome::TestingIOThreadState testing_io_thread_state;
536 536
537 base::Process process = 537 base::Process process =
538 Launch("CloudPrintMockService_StartEnabledWaitForQuit"); 538 Launch("CloudPrintMockService_StartEnabledWaitForQuit");
539 WaitForConnect(); 539 WaitForConnect();
540 ShutdownAndWaitForExitWithTimeout(std::move(process)); 540 ShutdownAndWaitForExitWithTimeout(std::move(process));
541 ServiceProcessControl::GetInstance()->Disconnect(); 541 ServiceProcessControl::GetInstance()->Disconnect();
542 content::RunAllPendingInMessageLoop(); 542 content::RunAllPendingInMessageLoop();
543 } 543 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698