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

Side by Side Diff: third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 10 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "modules/cachestorage/CacheStorage.h" 5 #include "modules/cachestorage/CacheStorage.h"
6 6
7 #include "bindings/core/v8/ScriptPromiseResolver.h" 7 #include "bindings/core/v8/ScriptPromiseResolver.h"
8 #include "bindings/core/v8/ScriptState.h" 8 #include "bindings/core/v8/ScriptState.h"
9 #include "core/dom/DOMException.h" 9 #include "core/dom/DOMException.h"
10 #include "core/dom/ExceptionCode.h" 10 #include "core/dom/ExceptionCode.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void checkCacheQueryOptions(const CacheQueryOptions& options, ExecutionContext* context) 42 void checkCacheQueryOptions(const CacheQueryOptions& options, ExecutionContext* context)
43 { 43 {
44 if (options.ignoreSearch()) 44 if (options.ignoreSearch())
45 context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, Warni ngMessageLevel, "Cache.match() does not support 'ignoreSearch' option yet. See h ttp://crbug.com/520784")); 45 context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, Warni ngMessageLevel, "Cache.match() does not support 'ignoreSearch' option yet. See h ttp://crbug.com/520784"));
46 if (options.ignoreMethod()) 46 if (options.ignoreMethod())
47 context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, Warni ngMessageLevel, "Cache.match() does not support 'ignoreMethod' option yet. See h ttp://crbug.com/482256")); 47 context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, Warni ngMessageLevel, "Cache.match() does not support 'ignoreMethod' option yet. See h ttp://crbug.com/482256"));
48 if (options.ignoreVary()) 48 if (options.ignoreVary())
49 context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, Warni ngMessageLevel, "Cache.match() does not support 'ignoreVary' option yet. See htt p://crbug.com/499216")); 49 context->addConsoleMessage(ConsoleMessage::create(JSMessageSource, Warni ngMessageLevel, "Cache.match() does not support 'ignoreVary' option yet. See htt p://crbug.com/499216"));
50 } 50 }
51 51
52 } 52 } // namespace
53 53
54 // FIXME: Consider using CallbackPromiseAdapter. 54 // FIXME: Consider using CallbackPromiseAdapter.
55 class CacheStorage::Callbacks final : public WebServiceWorkerCacheStorage::Cache StorageCallbacks { 55 class CacheStorage::Callbacks final : public WebServiceWorkerCacheStorage::Cache StorageCallbacks {
56 WTF_MAKE_NONCOPYABLE(Callbacks); 56 WTF_MAKE_NONCOPYABLE(Callbacks);
57 public: 57 public:
58 explicit Callbacks(ScriptPromiseResolver* resolver) 58 explicit Callbacks(ScriptPromiseResolver* resolver)
59 : m_resolver(resolver) { } 59 : m_resolver(resolver) { }
60 ~Callbacks() override { } 60 ~Callbacks() override { }
61 61
62 void onSuccess() override 62 void onSuccess() override
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 m_webCacheStorage.clear(); 339 m_webCacheStorage.clear();
340 } 340 }
341 341
342 DEFINE_TRACE(CacheStorage) 342 DEFINE_TRACE(CacheStorage)
343 { 343 {
344 visitor->trace(m_scopedFetcher); 344 visitor->trace(m_scopedFetcher);
345 visitor->trace(m_nameToCacheMap); 345 visitor->trace(m_nameToCacheMap);
346 } 346 }
347 347
348 } // namespace blink 348 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698