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

Side by Side Diff: mojo/edk/embedder/embedder.cc

Issue 1972703002: Fix include path for moved thread_task_runner_handle.h header in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 | « no previous file | mojo/edk/system/core.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 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 "mojo/edk/embedder/embedder.h" 5 #include "mojo/edk/embedder/embedder.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/task_runner.h" 14 #include "base/task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "crypto/random.h" 16 #include "crypto/random.h"
17 #include "mojo/edk/embedder/embedder_internal.h" 17 #include "mojo/edk/embedder/embedder_internal.h"
18 #include "mojo/edk/embedder/platform_channel_pair.h" 18 #include "mojo/edk/embedder/platform_channel_pair.h"
19 #include "mojo/edk/embedder/process_delegate.h" 19 #include "mojo/edk/embedder/process_delegate.h"
20 #include "mojo/edk/system/core.h" 20 #include "mojo/edk/system/core.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace edk { 23 namespace edk {
24 24
25 class Core; 25 class Core;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 } 143 }
144 144
145 std::string GenerateRandomToken() { 145 std::string GenerateRandomToken() {
146 char random_bytes[16]; 146 char random_bytes[16];
147 crypto::RandBytes(random_bytes, 16); 147 crypto::RandBytes(random_bytes, 16);
148 return base::HexEncode(random_bytes, 16); 148 return base::HexEncode(random_bytes, 16);
149 } 149 }
150 150
151 } // namespace edk 151 } // namespace edk
152 } // namespace mojo 152 } // namespace mojo
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698