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

Side by Side Diff: third_party/WebKit/Source/core/fetch/MemoryCache.h

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 4 Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
5 5
6 This library is free software; you can redistribute it and/or 6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public 7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version. 9 version 2 of the License, or (at your option) any later version.
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 struct MemoryCacheLRUList final { 118 struct MemoryCacheLRUList final {
119 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 119 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
120 public: 120 public:
121 Member<MemoryCacheEntry> m_head; 121 Member<MemoryCacheEntry> m_head;
122 Member<MemoryCacheEntry> m_tail; 122 Member<MemoryCacheEntry> m_tail;
123 123
124 MemoryCacheLRUList() : m_head(nullptr), m_tail(nullptr) { } 124 MemoryCacheLRUList() : m_head(nullptr), m_tail(nullptr) { }
125 DECLARE_TRACE(); 125 DECLARE_TRACE();
126 }; 126 };
127 127
128 } 128 } // namespace blink
129 129
130 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::MemoryCacheLRUList); 130 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::MemoryCacheLRUList);
131 131
132 namespace blink { 132 namespace blink {
133 133
134 class CORE_EXPORT MemoryCache final : public GarbageCollectedFinalized<MemoryCac he>, public WebThread::TaskObserver { 134 class CORE_EXPORT MemoryCache final : public GarbageCollectedFinalized<MemoryCac he>, public WebThread::TaskObserver {
135 WTF_MAKE_NONCOPYABLE(MemoryCache); 135 WTF_MAKE_NONCOPYABLE(MemoryCache);
136 public: 136 public:
137 static MemoryCache* create(); 137 static MemoryCache* create();
138 ~MemoryCache(); 138 ~MemoryCache();
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 #endif 326 #endif
327 }; 327 };
328 328
329 // Returns the global cache. 329 // Returns the global cache.
330 CORE_EXPORT MemoryCache* memoryCache(); 330 CORE_EXPORT MemoryCache* memoryCache();
331 331
332 // Sets the global cache, used to swap in a test instance. Returns the old 332 // Sets the global cache, used to swap in a test instance. Returns the old
333 // MemoryCache object. 333 // MemoryCache object.
334 CORE_EXPORT MemoryCache* replaceMemoryCacheForTesting(MemoryCache*); 334 CORE_EXPORT MemoryCache* replaceMemoryCacheForTesting(MemoryCache*);
335 335
336 } 336 } // namespace blink
337 337
338 #endif 338 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698