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

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

Issue 2127403002: Make browsing_data component a layered component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed output_name from components/browsing_data/content/BUILD.gn Created 4 years, 5 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 "chrome/browser/browsing_data/media_licenses_counter.h" 5 #include "chrome/browser/browsing_data/media_licenses_counter.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/test/base/in_process_browser_test.h" 11 #include "chrome/test/base/in_process_browser_test.h"
12 #include "components/browsing_data/pref_names.h" 12 #include "components/browsing_data/core/pref_names.h"
13 #include "components/prefs/pref_service.h" 13 #include "components/prefs/pref_service.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/storage_partition.h" 15 #include "content/public/browser/storage_partition.h"
16 #include "ppapi/shared_impl/ppapi_constants.h" 16 #include "ppapi/shared_impl/ppapi_constants.h"
17 #include "storage/browser/fileapi/async_file_util.h" 17 #include "storage/browser/fileapi/async_file_util.h"
18 #include "storage/browser/fileapi/file_system_context.h" 18 #include "storage/browser/fileapi/file_system_context.h"
19 #include "storage/browser/fileapi/file_system_operation_context.h" 19 #include "storage/browser/fileapi/file_system_operation_context.h"
20 #include "storage/browser/fileapi/isolated_context.h" 20 #include "storage/browser/fileapi/isolated_context.h"
21 #include "storage/browser/quota/quota_manager.h" 21 #include "storage/browser/quota/quota_manager.h"
22 #include "storage/common/fileapi/file_system_util.h" 22 #include "storage/common/fileapi/file_system_util.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 SetMediaLicenseDeletionPref(true); 212 SetMediaLicenseDeletionPref(true);
213 213
214 RunAndWaitForResult(); 214 RunAndWaitForResult();
215 215
216 EXPECT_TRUE(CallbackCalled()); 216 EXPECT_TRUE(CallbackCalled());
217 EXPECT_EQ(0u, GetCount()); 217 EXPECT_EQ(0u, GetCount());
218 EXPECT_TRUE(GetOrigin().empty()); 218 EXPECT_TRUE(GetOrigin().empty());
219 } 219 }
220 220
221 } // namespace 221 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/media_licenses_counter.cc ('k') | chrome/browser/browsing_data/passwords_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698