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

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

Issue 2815743002: Move a couple of blob tests next to the files they cover. (Closed)
Patch Set: Fix gn check, take 2. Created 3 years, 8 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 | « no previous file | chrome/browser/chromeos/drive/file_system_util_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 23 matching lines...) Expand all
34 #include "chrome/browser/browsing_data/browsing_data_remover_impl.h" 34 #include "chrome/browser/browsing_data/browsing_data_remover_impl.h"
35 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" 35 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h"
36 #include "chrome/test/base/testing_profile.h" 36 #include "chrome/test/base/testing_profile.h"
37 #include "content/public/browser/browser_context.h" 37 #include "content/public/browser/browser_context.h"
38 #include "content/public/browser/browsing_data_filter_builder.h" 38 #include "content/public/browser/browsing_data_filter_builder.h"
39 #include "content/public/browser/cookie_store_factory.h" 39 #include "content/public/browser/cookie_store_factory.h"
40 #include "content/public/browser/dom_storage_context.h" 40 #include "content/public/browser/dom_storage_context.h"
41 #include "content/public/browser/local_storage_usage_info.h" 41 #include "content/public/browser/local_storage_usage_info.h"
42 #include "content/public/browser/storage_partition.h" 42 #include "content/public/browser/storage_partition.h"
43 #include "content/public/test/mock_download_manager.h" 43 #include "content/public/test/mock_download_manager.h"
44 #include "content/public/test/mock_special_storage_policy.h"
45 #include "content/public/test/test_browser_thread.h" 44 #include "content/public/test/test_browser_thread.h"
46 #include "content/public/test/test_browser_thread_bundle.h" 45 #include "content/public/test/test_browser_thread_bundle.h"
47 #include "content/public/test/test_utils.h" 46 #include "content/public/test/test_utils.h"
48 #include "extensions/features/features.h" 47 #include "extensions/features/features.h"
49 #include "net/cookies/cookie_store.h" 48 #include "net/cookies/cookie_store.h"
50 #include "net/http/http_network_session.h" 49 #include "net/http/http_network_session.h"
51 #include "net/http/http_transaction_factory.h" 50 #include "net/http/http_transaction_factory.h"
52 #include "net/ssl/channel_id_service.h" 51 #include "net/ssl/channel_id_service.h"
53 #include "net/ssl/channel_id_store.h" 52 #include "net/ssl/channel_id_store.h"
54 #include "net/ssl/ssl_client_cert_type.h" 53 #include "net/ssl/ssl_client_cert_type.h"
55 #include "net/url_request/url_request_context.h" 54 #include "net/url_request/url_request_context.h"
56 #include "net/url_request/url_request_context_getter.h" 55 #include "net/url_request/url_request_context_getter.h"
57 #include "ppapi/features/features.h" 56 #include "ppapi/features/features.h"
57 #include "storage/browser/test/mock_special_storage_policy.h"
58 #include "testing/gmock/include/gmock/gmock.h" 58 #include "testing/gmock/include/gmock/gmock.h"
59 #include "testing/gtest/include/gtest/gtest.h" 59 #include "testing/gtest/include/gtest/gtest.h"
60 #include "url/origin.h" 60 #include "url/origin.h"
61 61
62 using content::BrowserThread; 62 using content::BrowserThread;
63 using content::BrowserContext; 63 using content::BrowserContext;
64 using content::BrowsingDataFilterBuilder; 64 using content::BrowsingDataFilterBuilder;
65 using content::StoragePartition; 65 using content::StoragePartition;
66 using testing::_; 66 using testing::_;
67 using testing::ByRef; 67 using testing::ByRef;
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after
1706 1706
1707 EXPECT_TRUE(remover->is_removing()); 1707 EXPECT_TRUE(remover->is_removing());
1708 1708
1709 // Add one more deletion and wait for it. 1709 // Add one more deletion and wait for it.
1710 BlockUntilBrowsingDataRemoved( 1710 BlockUntilBrowsingDataRemoved(
1711 base::Time(), base::Time::Max(), BrowsingDataRemover::DATA_TYPE_COOKIES, 1711 base::Time(), base::Time::Max(), BrowsingDataRemover::DATA_TYPE_COOKIES,
1712 BrowsingDataRemover::ORIGIN_TYPE_UNPROTECTED_WEB); 1712 BrowsingDataRemover::ORIGIN_TYPE_UNPROTECTED_WEB);
1713 1713
1714 EXPECT_FALSE(remover->is_removing()); 1714 EXPECT_FALSE(remover->is_removing());
1715 } 1715 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698