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

Side by Side Diff: third_party/WebKit/Source/platform/testing/RunAllTests.cpp

Issue 1881983003: Move PartitionAlloc related things into wtf/allocator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #include "mojo/edk/embedder/embedder.h" 34 #include "mojo/edk/embedder/embedder.h"
35 #include "mojo/edk/test/scoped_ipc_support.h" 35 #include "mojo/edk/test/scoped_ipc_support.h"
36 #include "platform/EventTracer.h" 36 #include "platform/EventTracer.h"
37 #include "platform/HTTPNames.h" 37 #include "platform/HTTPNames.h"
38 #include "platform/graphics/CompositorFactory.h" 38 #include "platform/graphics/CompositorFactory.h"
39 #include "platform/heap/Heap.h" 39 #include "platform/heap/Heap.h"
40 #include "platform/testing/TestingPlatformSupport.h" 40 #include "platform/testing/TestingPlatformSupport.h"
41 #include "public/platform/Platform.h" 41 #include "public/platform/Platform.h"
42 #include "wtf/CryptographicallyRandomNumber.h" 42 #include "wtf/CryptographicallyRandomNumber.h"
43 #include "wtf/CurrentTime.h" 43 #include "wtf/CurrentTime.h"
44 #include "wtf/Partitions.h"
45 #include "wtf/WTF.h" 44 #include "wtf/WTF.h"
45 #include "wtf/allocator/Partitions.h"
46 #include <base/bind.h> 46 #include <base/bind.h>
47 #include <base/bind_helpers.h> 47 #include <base/bind_helpers.h>
48 #include <base/command_line.h> 48 #include <base/command_line.h>
49 #include <base/metrics/statistics_recorder.h> 49 #include <base/metrics/statistics_recorder.h>
50 #include <base/test/launcher/unit_test_launcher.h> 50 #include <base/test/launcher/unit_test_launcher.h>
51 #include <base/test/test_suite.h> 51 #include <base/test/test_suite.h>
52 #include <cc/blink/web_compositor_support_impl.h> 52 #include <cc/blink/web_compositor_support_impl.h>
53 53
54 namespace { 54 namespace {
55 55
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 result = base::LaunchUnitTests(argc, argv, base::Bind(runTestSuite, base ::Unretained(&testSuite))); 109 result = base::LaunchUnitTests(argc, argv, base::Bind(runTestSuite, base ::Unretained(&testSuite)));
110 110
111 blink::ThreadState::detachMainThread(); 111 blink::ThreadState::detachMainThread();
112 blink::Heap::shutdown(); 112 blink::Heap::shutdown();
113 } 113 }
114 blink::CompositorFactory::shutdown(); 114 blink::CompositorFactory::shutdown();
115 WTF::shutdown(); 115 WTF::shutdown();
116 WTF::Partitions::shutdown(); 116 WTF::Partitions::shutdown();
117 return result; 117 return result;
118 } 118 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698