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

Side by Side Diff: components/mus/ws/test_utils.h

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 unified diff | Download patch
« no previous file with comments | « components/mus/ws/display_unittest.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef COMPONENTS_MUS_WS_TEST_UTILS_H_ 5 #ifndef COMPONENTS_MUS_WS_TEST_UTILS_H_
6 #define COMPONENTS_MUS_WS_TEST_UTILS_H_ 6 #define COMPONENTS_MUS_WS_TEST_UTILS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "components/mus/public/interfaces/window_tree.mojom.h" 10 #include "components/mus/public/interfaces/window_tree.mojom.h"
(...skipping 10 matching lines...) Expand all
21 namespace ws { 21 namespace ws {
22 namespace test { 22 namespace test {
23 23
24 // Collection of utilities useful in creating mus tests. 24 // Collection of utilities useful in creating mus tests.
25 25
26 class WindowManagerFactoryRegistryTestApi { 26 class WindowManagerFactoryRegistryTestApi {
27 public: 27 public:
28 WindowManagerFactoryRegistryTestApi(WindowManagerFactoryRegistry* registry); 28 WindowManagerFactoryRegistryTestApi(WindowManagerFactoryRegistry* registry);
29 ~WindowManagerFactoryRegistryTestApi(); 29 ~WindowManagerFactoryRegistryTestApi();
30 30
31 void AddService(UserId user_id, mojom::WindowManagerFactory* factory); 31 void AddService(const UserId& user_id, mojom::WindowManagerFactory* factory);
32 32
33 private: 33 private:
34 WindowManagerFactoryRegistry* registry_; 34 WindowManagerFactoryRegistry* registry_;
35 35
36 DISALLOW_COPY_AND_ASSIGN(WindowManagerFactoryRegistryTestApi); 36 DISALLOW_COPY_AND_ASSIGN(WindowManagerFactoryRegistryTestApi);
37 }; 37 };
38 38
39 // ----------------------------------------------------------------------------- 39 // -----------------------------------------------------------------------------
40 40
41 class WindowTreeTestApi { 41 class WindowTreeTestApi {
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 bool got_on_no_more_connections_ = false; 234 bool got_on_no_more_connections_ = false;
235 235
236 DISALLOW_COPY_AND_ASSIGN(TestConnectionManagerDelegate); 236 DISALLOW_COPY_AND_ASSIGN(TestConnectionManagerDelegate);
237 }; 237 };
238 238
239 } // namespace test 239 } // namespace test
240 } // namespace ws 240 } // namespace ws
241 } // namespace mus 241 } // namespace mus
242 242
243 #endif // COMPONENTS_MUS_WS_TEST_UTILS_H_ 243 #endif // COMPONENTS_MUS_WS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « components/mus/ws/display_unittest.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698