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

Side by Side Diff: chrome/browser/browsing_data/conditional_cache_deletion_helper_browsertest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 <algorithm> 5 #include <algorithm>
6 #include <memory> 6 #include <memory>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ptr_util.h"
11 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
12 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
13 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
14 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
16 #include "chrome/test/base/in_process_browser_test.h" 17 #include "chrome/test/base/in_process_browser_test.h"
17 #include "components/browsing_data/content/conditional_cache_deletion_helper.h" 18 #include "components/browsing_data/content/conditional_cache_deletion_helper.h"
18 #include "content/public/browser/browser_context.h" 19 #include "content/public/browser/browser_context.h"
19 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
20 #include "content/public/browser/storage_partition.h" 21 #include "content/public/browser/storage_partition.h"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 BrowserThread::IO, FROM_HERE, 310 BrowserThread::IO, FROM_HERE,
310 base::Bind(&ConditionalCacheDeletionHelperBrowserTest::GetRemainingKeys, 311 base::Bind(&ConditionalCacheDeletionHelperBrowserTest::GetRemainingKeys,
311 base::Unretained(this))); 312 base::Unretained(this)));
312 WaitForTasksOnIOThread(); 313 WaitForTasksOnIOThread();
313 314
314 keys.insert(newer_keys.begin(), newer_keys.end()); 315 keys.insert(newer_keys.begin(), newer_keys.end());
315 keys.erase("https://example.com/foo/bar/icon2.png"); 316 keys.erase("https://example.com/foo/bar/icon2.png");
316 keys.erase("https://example.com/foo/bar/icon3.png"); 317 keys.erase("https://example.com/foo/bar/icon3.png");
317 CompareRemainingKeys(keys); 318 CompareRemainingKeys(keys);
318 } 319 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.cc ('k') | chrome/browser/budget_service/budget_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698