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

Side by Side Diff: chrome/browser/ui/webui/settings/people_handler_unittest.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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 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 "chrome/browser/ui/webui/settings/people_handler.h" 5 #include "chrome/browser/ui/webui/settings/people_handler.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 23 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
24 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
25 #include "chrome/common/pref_names.h" 25 #include "chrome/common/pref_names.h"
26 #include "chrome/test/base/scoped_testing_local_state.h" 26 #include "chrome/test/base/scoped_testing_local_state.h"
27 #include "chrome/test/base/testing_browser_process.h" 27 #include "chrome/test/base/testing_browser_process.h"
28 #include "chrome/test/base/testing_profile.h" 28 #include "chrome/test/base/testing_profile.h"
29 #include "chrome/test/base/testing_profile_manager.h" 29 #include "chrome/test/base/testing_profile_manager.h"
30 #include "components/prefs/pref_service.h" 30 #include "components/prefs/pref_service.h"
31 #include "components/signin/core/browser/fake_auth_status_provider.h" 31 #include "components/signin/core/browser/fake_auth_status_provider.h"
32 #include "components/signin/core/browser/signin_manager.h" 32 #include "components/signin/core/browser/signin_manager.h"
33 #include "components/sync_driver/sync_prefs.h" 33 #include "components/sync/driver/sync_prefs.h"
34 #include "components/syncable_prefs/pref_service_syncable.h" 34 #include "components/syncable_prefs/pref_service_syncable.h"
35 #include "content/public/browser/web_ui.h" 35 #include "content/public/browser/web_ui.h"
36 #include "content/public/test/test_browser_thread.h" 36 #include "content/public/test/test_browser_thread.h"
37 #include "content/public/test/test_browser_thread_bundle.h" 37 #include "content/public/test/test_browser_thread_bundle.h"
38 #include "content/public/test/test_web_ui.h" 38 #include "content/public/test/test_web_ui.h"
39 #include "testing/gtest/include/gtest/gtest.h" 39 #include "testing/gtest/include/gtest/gtest.h"
40 #include "ui/base/layout.h" 40 #include "ui/base/layout.h"
41 41
42 using ::testing::_; 42 using ::testing::_;
43 using ::testing::Mock; 43 using ::testing::Mock;
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 SetupInitializedProfileSyncService(); 907 SetupInitializedProfileSyncService();
908 EXPECT_CALL(*mock_pss_, IsEncryptEverythingAllowed()) 908 EXPECT_CALL(*mock_pss_, IsEncryptEverythingAllowed())
909 .WillRepeatedly(Return(false)); 909 .WillRepeatedly(Return(false));
910 EXPECT_CALL(*mock_pss_, EnableEncryptEverything()).Times(0); 910 EXPECT_CALL(*mock_pss_, EnableEncryptEverything()).Times(0);
911 handler_->HandleSetEncryption(&list_args); 911 handler_->HandleSetEncryption(&list_args);
912 912
913 ExpectPageStatusResponse(PeopleHandler::kConfigurePageStatus); 913 ExpectPageStatusResponse(PeopleHandler::kConfigurePageStatus);
914 } 914 }
915 915
916 } // namespace settings 916 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/people_handler.cc ('k') | chrome/browser/ui/webui/sync_internals_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698