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

Side by Side Diff: mojo/package_manager/content_handler_connection.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 "mojo/package_manager/content_handler_connection.h" 5 #include "mojo/package_manager/content_handler_connection.h"
6 6
7 #include <stdint.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "mojo/shell/application_manager.h" 13 #include "mojo/shell/application_manager.h"
12 #include "mojo/shell/connect_to_application_params.h" 14 #include "mojo/shell/connect_to_application_params.h"
13 #include "mojo/shell/identity.h" 15 #include "mojo/shell/identity.h"
14 16
15 namespace mojo { 17 namespace mojo {
16 namespace package_manager { 18 namespace package_manager {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 DCHECK(connection_closed_); 69 DCHECK(connection_closed_);
68 } 70 }
69 71
70 void ContentHandlerConnection::ApplicationDestructed() { 72 void ContentHandlerConnection::ApplicationDestructed() {
71 if (!--ref_count_) 73 if (!--ref_count_)
72 CloseConnection(); 74 CloseConnection();
73 } 75 }
74 76
75 } // namespace package_manager 77 } // namespace package_manager
76 } // namespace mojo 78 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/package_manager/content_handler_connection.h ('k') | mojo/package_manager/content_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698