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

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ash/launcher/chrome_launcher_controller_impl.h" 5 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #include "chrome/test/base/testing_profile.h" 77 #include "chrome/test/base/testing_profile.h"
78 #include "chrome/test/base/testing_profile_manager.h" 78 #include "chrome/test/base/testing_profile_manager.h"
79 #include "chromeos/chromeos_switches.h" 79 #include "chromeos/chromeos_switches.h"
80 #include "components/arc/common/app.mojom.h" 80 #include "components/arc/common/app.mojom.h"
81 #include "components/arc/test/fake_app_instance.h" 81 #include "components/arc/test/fake_app_instance.h"
82 #include "components/exo/shell_surface.h" 82 #include "components/exo/shell_surface.h"
83 #include "components/signin/core/account_id/account_id.h" 83 #include "components/signin/core/account_id/account_id.h"
84 #include "components/sync/model/fake_sync_change_processor.h" 84 #include "components/sync/model/fake_sync_change_processor.h"
85 #include "components/sync/model/sync_error_factory_mock.h" 85 #include "components/sync/model/sync_error_factory_mock.h"
86 #include "components/sync/protocol/sync.pb.h" 86 #include "components/sync/protocol/sync.pb.h"
87 #include "components/syncable_prefs/testing_pref_service_syncable.h" 87 #include "components/sync_preferences/testing_pref_service_syncable.h"
88 #include "components/user_manager/fake_user_manager.h" 88 #include "components/user_manager/fake_user_manager.h"
89 #include "content/public/browser/web_contents.h" 89 #include "content/public/browser/web_contents.h"
90 #include "content/public/browser/web_contents_observer.h" 90 #include "content/public/browser/web_contents_observer.h"
91 #include "content/public/test/test_utils.h" 91 #include "content/public/test/test_utils.h"
92 #include "content/public/test/web_contents_tester.h" 92 #include "content/public/test/web_contents_tester.h"
93 #include "extensions/browser/app_window/app_window_contents.h" 93 #include "extensions/browser/app_window/app_window_contents.h"
94 #include "extensions/browser/app_window/app_window_registry.h" 94 #include "extensions/browser/app_window/app_window_registry.h"
95 #include "extensions/browser/app_window/native_app_window.h" 95 #include "extensions/browser/app_window/native_app_window.h"
96 #include "extensions/common/extension.h" 96 #include "extensions/common/extension.h"
97 #include "extensions/common/manifest_constants.h" 97 #include "extensions/common/manifest_constants.h"
(...skipping 3909 matching lines...) Expand 10 before | Expand all | Expand 10 after
4007 app_service_->GetPinPosition(extension_misc::kChromeAppId))); 4007 app_service_->GetPinPosition(extension_misc::kChromeAppId)));
4008 EXPECT_TRUE( 4008 EXPECT_TRUE(
4009 position_1.Equals(app_service_->GetPinPosition(extension1_->id()))); 4009 position_1.Equals(app_service_->GetPinPosition(extension1_->id())));
4010 EXPECT_TRUE( 4010 EXPECT_TRUE(
4011 position_1.Equals(app_service_->GetPinPosition(extension1_->id()))); 4011 position_1.Equals(app_service_->GetPinPosition(extension1_->id())));
4012 EXPECT_TRUE( 4012 EXPECT_TRUE(
4013 position_2.Equals(app_service_->GetPinPosition(extension2_->id()))); 4013 position_2.Equals(app_service_->GetPinPosition(extension2_->id())));
4014 EXPECT_TRUE( 4014 EXPECT_TRUE(
4015 position_3.Equals(app_service_->GetPinPosition(extension3_->id()))); 4015 position_3.Equals(app_service_->GetPinPosition(extension3_->id())));
4016 } 4016 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698