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

Side by Side Diff: base/bind_unittest.cc

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too 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 | « base/bind_internal_win.h ('k') | base/bind_unittest.nc » ('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 "base/bind.h" 5 #include "base/bind.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "build/build_config.h"
14 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 18
17 using ::testing::Mock; 19 using ::testing::Mock;
18 using ::testing::Return; 20 using ::testing::Return;
19 using ::testing::StrictMock; 21 using ::testing::StrictMock;
20 22
21 namespace base { 23 namespace base {
22 namespace { 24 namespace {
23 25
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 base::Callback<void(int)> null_cb; 872 base::Callback<void(int)> null_cb;
871 ASSERT_TRUE(null_cb.is_null()); 873 ASSERT_TRUE(null_cb.is_null());
872 EXPECT_DEATH(base::Bind(null_cb, 42), ""); 874 EXPECT_DEATH(base::Bind(null_cb, 42), "");
873 } 875 }
874 876
875 #endif // (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) && 877 #endif // (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) &&
876 // GTEST_HAS_DEATH_TEST 878 // GTEST_HAS_DEATH_TEST
877 879
878 } // namespace 880 } // namespace
879 } // namespace base 881 } // namespace base
OLDNEW
« no previous file with comments | « base/bind_internal_win.h ('k') | base/bind_unittest.nc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698