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

Side by Side Diff: ppapi/proxy/serialized_var_unittest.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 | « ppapi/proxy/serialized_var.h ('k') | ppapi/proxy/tcp_server_socket_private_resource.h » ('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 #include <stdint.h>
6
5 #include "ppapi/proxy/ppapi_proxy_test.h" 7 #include "ppapi/proxy/ppapi_proxy_test.h"
6
7 #include "ppapi/proxy/proxy_object_var.h" 8 #include "ppapi/proxy/proxy_object_var.h"
8 #include "ppapi/proxy/serialized_var.h" 9 #include "ppapi/proxy/serialized_var.h"
9 #include "ppapi/shared_impl/proxy_lock.h" 10 #include "ppapi/shared_impl/proxy_lock.h"
10 11
11 namespace ppapi { 12 namespace ppapi {
12 namespace proxy { 13 namespace proxy {
13 14
14 namespace { 15 namespace {
15 16
16 PP_Var MakeObjectVar(int64_t object_id) { 17 PP_Var MakeObjectVar(int64_t object_id) {
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 } 379 }
379 380
380 // When the ReturnValue object goes out of scope, it should have sent a 381 // When the ReturnValue object goes out of scope, it should have sent a
381 // release message to the browser. 382 // release message to the browser.
382 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_object)); 383 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_object));
383 EXPECT_EQ(1u, sink().message_count()); 384 EXPECT_EQ(1u, sink().message_count());
384 } 385 }
385 386
386 } // namespace proxy 387 } // namespace proxy
387 } // namespace ppapi 388 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/serialized_var.h ('k') | ppapi/proxy/tcp_server_socket_private_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698