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

Side by Side Diff: Source/web/WebLeakDetector.cpp

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « Source/web/WebLabelElement.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 29 matching lines...) Expand all
40 #include "core/inspector/InspectorCounters.h" 40 #include "core/inspector/InspectorCounters.h"
41 #include "core/rendering/RenderObject.h" 41 #include "core/rendering/RenderObject.h"
42 #include "modules/webaudio/AudioNode.h" 42 #include "modules/webaudio/AudioNode.h"
43 #include "platform/Timer.h" 43 #include "platform/Timer.h"
44 #include "public/web/WebDocument.h" 44 #include "public/web/WebDocument.h"
45 #include "public/web/WebLocalFrame.h" 45 #include "public/web/WebLocalFrame.h"
46 #include "web/WebEmbeddedWorkerImpl.h" 46 #include "web/WebEmbeddedWorkerImpl.h"
47 47
48 #include <v8.h> 48 #include <v8.h>
49 49
50 using namespace blink;
51
52 namespace blink { 50 namespace blink {
53 51
54 namespace { 52 namespace {
55 53
56 // FIXME: Oilpan: It may take multiple GC to collect on-heap objects referenced from off-heap objects. 54 // FIXME: Oilpan: It may take multiple GC to collect on-heap objects referenced from off-heap objects.
57 // Please see comment in Heap::collectAllGarbage() 55 // Please see comment in Heap::collectAllGarbage()
58 static const int kNumberOfGCsToClaimChains = 5; 56 static const int kNumberOfGCsToClaimChains = 5;
59 57
60 class WebLeakDetectorImpl FINAL : public WebLeakDetector { 58 class WebLeakDetectorImpl FINAL : public WebLeakDetector {
61 WTF_MAKE_NONCOPYABLE(WebLeakDetectorImpl); 59 WTF_MAKE_NONCOPYABLE(WebLeakDetectorImpl);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 } 142 }
145 143
146 } // namespace 144 } // namespace
147 145
148 WebLeakDetector* WebLeakDetector::create(WebLeakDetectorClient* client) 146 WebLeakDetector* WebLeakDetector::create(WebLeakDetectorClient* client)
149 { 147 {
150 return new WebLeakDetectorImpl(client); 148 return new WebLeakDetectorImpl(client);
151 } 149 }
152 150
153 } // namespace blink 151 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebLabelElement.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698