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

Side by Side Diff: content/browser/battery_status/battery_monitor_impl_browsertest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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 "base/macros.h"
5 #include "base/thread_task_runner_handle.h" 6 #include "base/thread_task_runner_handle.h"
6 #include "content/public/browser/web_contents.h" 7 #include "content/public/browser/web_contents.h"
7 #include "content/public/test/content_browser_test.h" 8 #include "content/public/test/content_browser_test.h"
8 #include "content/public/test/content_browser_test_utils.h" 9 #include "content/public/test/content_browser_test_utils.h"
9 #include "content/public/test/test_navigation_observer.h" 10 #include "content/public/test/test_navigation_observer.h"
10 #include "content/public/test/test_utils.h" 11 #include "content/public/test/test_utils.h"
11 #include "content/shell/browser/shell.h" 12 #include "content/shell/browser/shell.h"
12 #include "device/battery/battery_status_manager.h" 13 #include "device/battery/battery_status_manager.h"
13 #include "device/battery/battery_status_service.h" 14 #include "device/battery/battery_status_service.h"
14 15
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 battery_manager()->set_battery_status(status); 147 battery_manager()->set_battery_status(status);
147 battery_manager()->InvokeUpdateCallback(); 148 battery_manager()->InvokeUpdateCallback();
148 same_tab_observer2.Wait(); 149 same_tab_observer2.Wait();
149 EXPECT_EQ("pass", shell()->web_contents()->GetLastCommittedURL().ref()); 150 EXPECT_EQ("pass", shell()->web_contents()->GetLastCommittedURL().ref());
150 EXPECT_TRUE(battery_manager()->started()); 151 EXPECT_TRUE(battery_manager()->started());
151 } 152 }
152 153
153 } // namespace 154 } // namespace
154 155
155 } // namespace content 156 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698