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

Side by Side Diff: mojo/package_manager/content_handler_unittest.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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>
6
5 #include <utility> 7 #include <utility>
6 8
7 #include "base/at_exit.h" 9 #include "base/at_exit.h"
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
11 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
12 #include "base/path_service.h" 14 #include "base/path_service.h"
13 #include "base/run_loop.h" 15 #include "base/run_loop.h"
14 #include "mojo/application/public/cpp/application_connection.h" 16 #include "mojo/application/public/cpp/application_connection.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 params->SetTargetURL(GURL("test:test")); 316 params->SetTargetURL(GURL("test:test"));
315 params->set_connect_callback( 317 params->set_connect_callback(
316 [&content_handler_id](uint32_t t) { content_handler_id = t; }); 318 [&content_handler_id](uint32_t t) { content_handler_id = t; });
317 application_manager_->ConnectToApplication(std::move(params)); 319 application_manager_->ConnectToApplication(std::move(params));
318 EXPECT_EQ(0u, content_handler_id); 320 EXPECT_EQ(0u, content_handler_id);
319 } 321 }
320 322
321 } // namespace test 323 } // namespace test
322 } // namespace package_manager 324 } // namespace package_manager
323 } // namespace mojo 325 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/package_manager/content_handler_connection.cc ('k') | mojo/package_manager/package_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698