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

Side by Side Diff: content/browser/dom_storage/local_storage_context_mojo.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "content/browser/dom_storage/local_storage_context_mojo.h" 5 #include "content/browser/dom_storage/local_storage_context_mojo.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
10 #include "components/leveldb/public/cpp/util.h" 11 #include "components/leveldb/public/cpp/util.h"
11 #include "components/leveldb/public/interfaces/leveldb.mojom.h" 12 #include "components/leveldb/public/interfaces/leveldb.mojom.h"
12 #include "content/browser/dom_storage/dom_storage_area.h" 13 #include "content/browser/dom_storage/dom_storage_area.h"
13 #include "content/browser/dom_storage/dom_storage_database.h" 14 #include "content/browser/dom_storage/dom_storage_database.h"
14 #include "content/browser/dom_storage/dom_storage_task_runner.h" 15 #include "content/browser/dom_storage/dom_storage_task_runner.h"
15 #include "content/browser/dom_storage/local_storage_database.pb.h" 16 #include "content/browser/dom_storage/local_storage_database.pb.h"
16 #include "content/browser/leveldb_wrapper_impl.h" 17 #include "content/browser/leveldb_wrapper_impl.h"
17 #include "content/common/dom_storage/dom_storage_types.h" 18 #include "content/common/dom_storage/dom_storage_types.h"
18 #include "content/public/browser/local_storage_usage_info.h" 19 #include "content/public/browser/local_storage_usage_info.h"
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 for (const auto& info : usage) { 603 for (const auto& info : usage) {
603 url::Origin origin_candidate(info.origin); 604 url::Origin origin_candidate(info.origin);
604 if (!origin_candidate.IsSameOriginWith(origin) && 605 if (!origin_candidate.IsSameOriginWith(origin) &&
605 origin_candidate.IsSamePhysicalOriginWith(origin)) 606 origin_candidate.IsSamePhysicalOriginWith(origin))
606 DeleteStorage(origin_candidate); 607 DeleteStorage(origin_candidate);
607 } 608 }
608 DeleteStorage(origin); 609 DeleteStorage(origin);
609 } 610 }
610 611
611 } // namespace content 612 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/browser_devtools_agent_host.cc ('k') | content/browser/download/url_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698