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

Side by Side Diff: components/clipboard/clipboard_standalone_impl.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/clipboard/clipboard_standalone_impl.h" 5 #include "components/clipboard/clipboard_standalone_impl.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/array.h" 10 #include "mojo/public/cpp/bindings/array.h"
10 #include "mojo/public/cpp/bindings/callback.h" 11 #include "mojo/public/cpp/bindings/callback.h"
11 #include "mojo/public/cpp/bindings/string.h" 12 #include "mojo/public/cpp/bindings/string.h"
12 13
13 using mojo::Array; 14 using mojo::Array;
14 using mojo::Map; 15 using mojo::Map;
15 using mojo::String; 16 using mojo::String;
16 17
17 namespace clipboard { 18 namespace clipboard {
18 19
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 81 }
81 82
82 void ClipboardStandaloneImpl::WriteClipboardData( 83 void ClipboardStandaloneImpl::WriteClipboardData(
83 Clipboard::Type clipboard_type, 84 Clipboard::Type clipboard_type,
84 Map<String, Array<uint8_t>> data) { 85 Map<String, Array<uint8_t>> data) {
85 sequence_number_[clipboard_type]++; 86 sequence_number_[clipboard_type]++;
86 clipboard_state_[clipboard_type]->SetData(data.Pass()); 87 clipboard_state_[clipboard_type]->SetData(data.Pass());
87 } 88 }
88 89
89 } // namespace clipboard 90 } // namespace clipboard
OLDNEW
« no previous file with comments | « components/clipboard/clipboard_standalone_impl.h ('k') | components/cloud_devices/common/cloud_device_description.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698