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

Side by Side Diff: base/memory/singleton_unittest.cc

Issue 15078003: Cleanup: Remove unneeded base/file_util.h includes in base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « base/i18n/icu_util.cc ('k') | base/process_util_freebsd.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 (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/at_exit.h" 5 #include "base/at_exit.h"
6 #include "base/file_util.h"
7 #include "base/memory/singleton.h" 6 #include "base/memory/singleton.h"
8 #include "base/path_service.h" 7 #include "base/path_service.h"
9 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
10 9
11 namespace { 10 namespace {
12 11
13 COMPILE_ASSERT(DefaultSingletonTraits<int>::kRegisterAtExit == true, a); 12 COMPILE_ASSERT(DefaultSingletonTraits<int>::kRegisterAtExit == true, a);
14 13
15 typedef void (*CallbackFunc)(); 14 typedef void (*CallbackFunc)();
16 15
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 AlignedTestSingleton<AlignedMemory<128, 128> >* align128 = 279 AlignedTestSingleton<AlignedMemory<128, 128> >* align128 =
281 AlignedTestSingleton<AlignedMemory<128, 128> >::GetInstance(); 280 AlignedTestSingleton<AlignedMemory<128, 128> >::GetInstance();
282 AlignedTestSingleton<AlignedMemory<4096, 4096> >* align4096 = 281 AlignedTestSingleton<AlignedMemory<4096, 4096> >* align4096 =
283 AlignedTestSingleton<AlignedMemory<4096, 4096> >::GetInstance(); 282 AlignedTestSingleton<AlignedMemory<4096, 4096> >::GetInstance();
284 283
285 EXPECT_ALIGNED(align4, 4); 284 EXPECT_ALIGNED(align4, 4);
286 EXPECT_ALIGNED(align32, 32); 285 EXPECT_ALIGNED(align32, 32);
287 EXPECT_ALIGNED(align128, 128); 286 EXPECT_ALIGNED(align128, 128);
288 EXPECT_ALIGNED(align4096, 4096); 287 EXPECT_ALIGNED(align4096, 4096);
289 } 288 }
OLDNEW
« no previous file with comments | « base/i18n/icu_util.cc ('k') | base/process_util_freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698