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

Side by Side Diff: content/browser/background_sync/background_sync_browsertest.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/strings/string_split.h" 13 #include "base/strings/string_split.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/task_runner_util.h" 15 #include "base/task_runner_util.h"
16 #include "base/threading/thread_task_runner_handle.h"
16 #include "content/browser/background_sync/background_sync_context.h" 17 #include "content/browser/background_sync/background_sync_context.h"
17 #include "content/browser/background_sync/background_sync_manager.h" 18 #include "content/browser/background_sync/background_sync_manager.h"
18 #include "content/browser/background_sync/background_sync_network_observer.h" 19 #include "content/browser/background_sync/background_sync_network_observer.h"
19 #include "content/browser/background_sync/background_sync_status.h" 20 #include "content/browser/background_sync/background_sync_status.h"
20 #include "content/browser/service_worker/service_worker_context_wrapper.h" 21 #include "content/browser/service_worker/service_worker_context_wrapper.h"
21 #include "content/browser/service_worker/service_worker_registration.h" 22 #include "content/browser/service_worker/service_worker_registration.h"
22 #include "content/browser/storage_partition_impl.h" 23 #include "content/browser/storage_partition_impl.h"
23 #include "content/public/browser/browser_context.h" 24 #include "content/public/browser/browser_context.h"
24 #include "content/public/browser/web_contents.h" 25 #include "content/public/browser/web_contents.h"
25 #include "content/public/common/content_switches.h" 26 #include "content/public/common/content_switches.h"
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 IN_PROC_BROWSER_TEST_F(BackgroundSyncBrowserTest, 681 IN_PROC_BROWSER_TEST_F(BackgroundSyncBrowserTest,
681 RegisterFromServiceWorkerWithoutMainFrameHost) { 682 RegisterFromServiceWorkerWithoutMainFrameHost) {
682 std::string script_result; 683 std::string script_result;
683 EXPECT_TRUE( 684 EXPECT_TRUE(
684 RegisterFromCrossOriginFrame(kRegisterSyncFromSWURL, &script_result)); 685 RegisterFromCrossOriginFrame(kRegisterSyncFromSWURL, &script_result));
685 EXPECT_EQ(BuildExpectedResult("frame", "failed to register sync"), 686 EXPECT_EQ(BuildExpectedResult("frame", "failed to register sync"),
686 script_result); 687 script_result);
687 } 688 }
688 689
689 } // namespace content 690 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698