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

Side by Side Diff: chrome/browser/sessions/session_restore_browsertest_chromeos.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stddef.h>
6
5 #include <list> 7 #include <list>
6 #include <vector> 8 #include <vector>
7 9
8 #include "base/command_line.h" 10 #include "base/command_line.h"
9 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
10 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/chrome_notification_types.h" 13 #include "chrome/browser/chrome_notification_types.h"
12 #include "chrome/browser/defaults.h" 14 #include "chrome/browser/defaults.h"
13 #include "chrome/browser/prefs/session_startup_pref.h" 15 #include "chrome/browser/prefs/session_startup_pref.h"
14 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 size_t total_count = 0; 157 size_t total_count = 0;
156 size_t maximized_count = 0; 158 size_t maximized_count = 0;
157 for (chrome::BrowserIterator it; !it.done(); it.Next()) { 159 for (chrome::BrowserIterator it; !it.done(); it.Next()) {
158 ++total_count; 160 ++total_count;
159 if (it->window()->IsMaximized()) 161 if (it->window()->IsMaximized())
160 ++maximized_count; 162 ++maximized_count;
161 } 163 }
162 EXPECT_EQ(4u, total_count); 164 EXPECT_EQ(4u, total_count);
163 EXPECT_EQ(2u, maximized_count); 165 EXPECT_EQ(2u, maximized_count);
164 } 166 }
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_restore_browsertest.cc ('k') | chrome/browser/sessions/session_restore_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698