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

Side by Side Diff: services/ui/clipboard/clipboard_unittest.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/clipboard/clipboard_impl.cc ('k') | services/ui/clipboard/test_manifest.json » ('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 #include <stdint.h> 5 #include <stdint.h>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "components/mus/public/interfaces/clipboard.mojom.h"
12 #include "mojo/common/common_type_converters.h" 11 #include "mojo/common/common_type_converters.h"
13 #include "services/shell/public/cpp/shell_connection.h" 12 #include "services/shell/public/cpp/shell_connection.h"
14 #include "services/shell/public/cpp/shell_test.h" 13 #include "services/shell/public/cpp/shell_test.h"
14 #include "services/ui/public/interfaces/clipboard.mojom.h"
15 15
16 using mojo::Array; 16 using mojo::Array;
17 using mojo::Map; 17 using mojo::Map;
18 using mojo::String; 18 using mojo::String;
19 using mus::mojom::Clipboard; 19 using mus::mojom::Clipboard;
20 20
21 namespace mus { 21 namespace mus {
22 namespace clipboard { 22 namespace clipboard {
23 namespace { 23 namespace {
24 24
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 clipboard_->WriteClipboardData(Clipboard::Type::COPY_PASTE, 136 clipboard_->WriteClipboardData(Clipboard::Type::COPY_PASTE,
137 std::move(mime_data), 137 std::move(mime_data),
138 &sequence_num); 138 &sequence_num);
139 139
140 EXPECT_EQ(2ul, sequence_num); 140 EXPECT_EQ(2ul, sequence_num);
141 EXPECT_FALSE(GetDataOfType(mojom::kMimeTypeText, &data)); 141 EXPECT_FALSE(GetDataOfType(mojom::kMimeTypeText, &data));
142 } 142 }
143 143
144 } // namespace clipboard 144 } // namespace clipboard
145 } // namespace mus 145 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/clipboard/clipboard_impl.cc ('k') | services/ui/clipboard/test_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698