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

Unified Diff: components/mus/ws/display_unittest.cc

Issue 1770533002: Change userid from a uint32_t to a string guid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@33connector
Patch Set: . Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/ws/display.cc ('k') | components/mus/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display_unittest.cc
diff --git a/components/mus/ws/display_unittest.cc b/components/mus/ws/display_unittest.cc
index ef8301666b2d3372926ec8b5b8c8de3650e2caae..663e04c135526d096516d20f9fb60db6709bb325 100644
--- a/components/mus/ws/display_unittest.cc
+++ b/components/mus/ws/display_unittest.cc
@@ -78,8 +78,8 @@ TEST_F(DisplayTest, CallsCreateDefaultDisplays) {
const int kNumHostsToCreate = 2;
connection_manager_delegate_.set_num_displays_to_create(kNumHostsToCreate);
- const UserId kTestId1 = 2;
- const UserId kTestId2 = 21;
+ const UserId kTestId1 = "2";
+ const UserId kTestId2 = "21";
WindowManagerFactoryRegistryTestApi(
connection_manager_->window_manager_factory_registry())
.AddService(kTestId1, &test_window_manager_factory_);
@@ -116,8 +116,8 @@ TEST_F(DisplayTest, CallsCreateDefaultDisplays) {
TEST_F(DisplayTest, Destruction) {
connection_manager_delegate_.set_num_displays_to_create(1);
- const UserId kTestId1 = 2;
- const UserId kTestId2 = 21;
+ const UserId kTestId1 = "2";
+ const UserId kTestId2 = "21";
WindowManagerFactoryRegistryTestApi(
connection_manager_->window_manager_factory_registry())
.AddService(kTestId1, &test_window_manager_factory_);
« no previous file with comments | « components/mus/ws/display.cc ('k') | components/mus/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698