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

Side by Side Diff: webkit/tools/test_shell/test_shell_main.cc

Issue 183008: Avoids the use of "namespace using-directives" in a few places.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: with gfx:: Created 11 years, 3 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 | « webkit/glue/glue_serialize_unittest.cc ('k') | no next file » | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <iostream> 5 #include <iostream>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/event_recorder.h" 10 #include "base/event_recorder.h"
(...skipping 21 matching lines...) Expand all
32 #include "webkit/extensions/v8/gc_extension.h" 32 #include "webkit/extensions/v8/gc_extension.h"
33 #include "webkit/extensions/v8/playback_extension.h" 33 #include "webkit/extensions/v8/playback_extension.h"
34 #include "webkit/extensions/v8/profiler_extension.h" 34 #include "webkit/extensions/v8/profiler_extension.h"
35 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" 35 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
36 #include "webkit/tools/test_shell/test_shell.h" 36 #include "webkit/tools/test_shell/test_shell.h"
37 #include "webkit/tools/test_shell/test_shell_platform_delegate.h" 37 #include "webkit/tools/test_shell/test_shell_platform_delegate.h"
38 #include "webkit/tools/test_shell/test_shell_request_context.h" 38 #include "webkit/tools/test_shell/test_shell_request_context.h"
39 #include "webkit/tools/test_shell/test_shell_switches.h" 39 #include "webkit/tools/test_shell/test_shell_switches.h"
40 #include "webkit/tools/test_shell/test_shell_webkit_init.h" 40 #include "webkit/tools/test_shell/test_shell_webkit_init.h"
41 41
42 using namespace std;
43
44 static const size_t kPathBufSize = 2048; 42 static const size_t kPathBufSize = 2048;
45 43
46 namespace { 44 namespace {
47 45
48 // StatsTable initialization parameters. 46 // StatsTable initialization parameters.
49 static const char* kStatsFilePrefix = "testshell_"; 47 static const char* kStatsFilePrefix = "testshell_";
50 static int kStatsFileThreads = 20; 48 static int kStatsFileThreads = 20;
51 static int kStatsFileCounters = 200; 49 static int kStatsFileCounters = 200;
52 50
53 } // namespace 51 } // namespace
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 331
334 TestShell::ShutdownTestShell(); 332 TestShell::ShutdownTestShell();
335 TestShell::CleanupLogging(); 333 TestShell::CleanupLogging();
336 334
337 // Tear down shared StatsTable; prevents unit_tests from leaking it. 335 // Tear down shared StatsTable; prevents unit_tests from leaking it.
338 StatsTable::set_current(NULL); 336 StatsTable::set_current(NULL);
339 delete table; 337 delete table;
340 338
341 return 0; 339 return 0;
342 } 340 }
OLDNEW
« no previous file with comments | « webkit/glue/glue_serialize_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698