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

Side by Side Diff: content/browser/wake_lock/wake_lock_browsertest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/message_loop/message_loop.h"
6 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
7 #include "content/browser/web_contents/web_contents_impl.h" 8 #include "content/browser/web_contents/web_contents_impl.h"
8 #include "content/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
9 #include "content/public/test/browser_test_utils.h" 10 #include "content/public/test/browser_test_utils.h"
10 #include "content/public/test/content_browser_test.h" 11 #include "content/public/test/content_browser_test.h"
11 #include "content/public/test/content_browser_test_utils.h" 12 #include "content/public/test/content_browser_test_utils.h"
12 #include "content/public/test/test_utils.h" 13 #include "content/public/test/test_utils.h"
13 #include "content/shell/browser/shell.h" 14 #include "content/shell/browser/shell.h"
14 #include "content/test/content_browser_test_utils_internal.h" 15 #include "content/test/content_browser_test_utils_internal.h"
15 #include "net/dns/mock_host_resolver.h" 16 #include "net/dns/mock_host_resolver.h"
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 GetNestedFrame()->GetProcess(), 378 GetNestedFrame()->GetProcess(),
378 RenderProcessHostWatcher::WATCH_FOR_PROCESS_EXIT); 379 RenderProcessHostWatcher::WATCH_FOR_PROCESS_EXIT);
379 GetNestedFrame()->GetProcess()->Shutdown(0, false); 380 GetNestedFrame()->GetProcess()->Shutdown(0, false);
380 watcher.Wait(); 381 watcher.Wait();
381 382
382 // Screen wake lock should be released. 383 // Screen wake lock should be released.
383 EXPECT_FALSE(HasWakeLock()); 384 EXPECT_FALSE(HasWakeLock());
384 } 385 }
385 386
386 } // namespace content 387 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698