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

Side by Side Diff: chrome/browser/chromeos/extensions/external_cache_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/chromeos/extensions/external_cache.h" 5 #include "chrome/browser/chromeos/extensions/external_cache.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/sequenced_task_runner.h"
17 #include "base/test/sequenced_worker_pool_owner.h" 18 #include "base/test/sequenced_worker_pool_owner.h"
18 #include "base/values.h" 19 #include "base/values.h"
19 #include "chrome/browser/chromeos/settings/cros_settings.h" 20 #include "chrome/browser/chromeos/settings/cros_settings.h"
20 #include "chrome/browser/chromeos/settings/device_settings_service.h" 21 #include "chrome/browser/chromeos/settings/device_settings_service.h"
21 #include "chrome/browser/extensions/external_provider_impl.h" 22 #include "chrome/browser/extensions/external_provider_impl.h"
22 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
23 #include "content/public/test/test_browser_thread_bundle.h" 24 #include "content/public/test/test_browser_thread_bundle.h"
24 #include "extensions/common/extension_urls.h" 25 #include "extensions/common/extension_urls.h"
25 #include "net/url_request/test_url_fetcher_factory.h" 26 #include "net/url_request/test_url_fetcher_factory.h"
26 #include "net/url_request/url_fetcher_impl.h" 27 #include "net/url_request/url_fetcher_impl.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId1, &entry1)); 301 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId1, &entry1));
301 EXPECT_TRUE(entry1->HasKey( 302 EXPECT_TRUE(entry1->HasKey(
302 extensions::ExternalProviderImpl::kExternalUpdateUrl)); 303 extensions::ExternalProviderImpl::kExternalUpdateUrl));
303 EXPECT_FALSE(entry1->HasKey( 304 EXPECT_FALSE(entry1->HasKey(
304 extensions::ExternalProviderImpl::kExternalCrx)); 305 extensions::ExternalProviderImpl::kExternalCrx));
305 EXPECT_FALSE(entry1->HasKey( 306 EXPECT_FALSE(entry1->HasKey(
306 extensions::ExternalProviderImpl::kExternalVersion)); 307 extensions::ExternalProviderImpl::kExternalVersion));
307 } 308 }
308 309
309 } // namespace chromeos 310 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698