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

Side by Side Diff: remoting/base/util.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
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
« no previous file with comments | « remoting/base/url_request_context_getter.h ('k') | remoting/base/util_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 REMOTING_BASE_UTIL_H_ 5 #ifndef REMOTING_BASE_UTIL_H_
6 #define REMOTING_BASE_UTIL_H_ 6 #define REMOTING_BASE_UTIL_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 #include <string> 10 #include <string>
10 11
11 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 12 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
12 13
13 namespace remoting { 14 namespace remoting {
14 15
15 // Return a string that contains the current date formatted as 'MMDD/HHMMSS:'. 16 // Return a string that contains the current date formatted as 'MMDD/HHMMSS:'.
16 std::string GetTimestampString(); 17 std::string GetTimestampString();
17 18
(...skipping 19 matching lines...) Expand all
37 38
38 // Checks if the given string is a valid UTF-8 string. 39 // Checks if the given string is a valid UTF-8 string.
39 bool StringIsUtf8(const char* data, size_t length); 40 bool StringIsUtf8(const char* data, size_t length);
40 41
41 bool DoesRectContain(const webrtc::DesktopRect& a, 42 bool DoesRectContain(const webrtc::DesktopRect& a,
42 const webrtc::DesktopRect& b); 43 const webrtc::DesktopRect& b);
43 44
44 } // namespace remoting 45 } // namespace remoting
45 46
46 #endif // REMOTING_BASE_UTIL_H_ 47 #endif // REMOTING_BASE_UTIL_H_
OLDNEW
« no previous file with comments | « remoting/base/url_request_context_getter.h ('k') | remoting/base/util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698