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

Side by Side Diff: chrome/browser/ui/app_list/app_list_test_util.cc

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 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 "chrome/browser/ui/app_list/app_list_test_util.h" 5 #include "chrome/browser/ui/app_list/app_list_test_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/threading/sequenced_worker_pool.h"
9 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/common/chrome_constants.h" 9 #include "chrome/common/chrome_constants.h"
11 #include "extensions/browser/extension_registry.h" 10 #include "extensions/browser/extension_registry.h"
12 #include "extensions/common/extension_set.h" 11 #include "extensions/common/extension_set.h"
13 12
14 const char AppListTestBase::kHostedAppId[] = 13 const char AppListTestBase::kHostedAppId[] =
15 "dceacbkfkmllgmjmbhgkpjegnodmildf"; 14 "dceacbkfkmllgmjmbhgkpjegnodmildf";
16 const char AppListTestBase::kPackagedApp1Id[] = 15 const char AppListTestBase::kPackagedApp1Id[] =
17 "emfkafnhnpcmabnnkckkchdilgeoekbo"; 16 "emfkafnhnpcmabnnkckkchdilgeoekbo";
18 const char AppListTestBase::kPackagedApp2Id[] = 17 const char AppListTestBase::kPackagedApp2Id[] =
(...skipping 23 matching lines...) Expand all
42 service_->SetFileTaskRunnerForTesting( 41 service_->SetFileTaskRunnerForTesting(
43 content::BrowserThread::GetBlockingPool() 42 content::BrowserThread::GetBlockingPool()
44 ->GetSequencedTaskRunnerWithShutdownBehavior( 43 ->GetSequencedTaskRunnerWithShutdownBehavior(
45 content::BrowserThread::GetBlockingPool()->GetNamedSequenceToken( 44 content::BrowserThread::GetBlockingPool()->GetNamedSequenceToken(
46 "ext_install-"), 45 "ext_install-"),
47 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); 46 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN));
48 47
49 // There should be 4 extensions in the test profile. 48 // There should be 4 extensions in the test profile.
50 ASSERT_EQ(4U, registry()->enabled_extensions().size()); 49 ASSERT_EQ(4U, registry()->enabled_extensions().size());
51 } 50 }
OLDNEW
« no previous file with comments | « chrome/browser/themes/theme_service_browsertest.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698