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

Side by Side Diff: chrome/browser/ui/browser_browsertest.cc

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit test debugging Created 5 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 <string> 5 #include <string>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/browser/extensions/extension_util.h" 26 #include "chrome/browser/extensions/extension_util.h"
27 #include "chrome/browser/extensions/tab_helper.h" 27 #include "chrome/browser/extensions/tab_helper.h"
28 #include "chrome/browser/first_run/first_run.h" 28 #include "chrome/browser/first_run/first_run.h"
29 #include "chrome/browser/lifetime/application_lifetime.h" 29 #include "chrome/browser/lifetime/application_lifetime.h"
30 #include "chrome/browser/prefs/incognito_mode_prefs.h" 30 #include "chrome/browser/prefs/incognito_mode_prefs.h"
31 #include "chrome/browser/profiles/profile.h" 31 #include "chrome/browser/profiles/profile.h"
32 #include "chrome/browser/profiles/profile_info_cache.h" 32 #include "chrome/browser/profiles/profile_info_cache.h"
33 #include "chrome/browser/profiles/profile_manager.h" 33 #include "chrome/browser/profiles/profile_manager.h"
34 #include "chrome/browser/search/search.h" 34 #include "chrome/browser/search/search.h"
35 #include "chrome/browser/sessions/session_service_factory.h" 35 #include "chrome/browser/sessions/session_service_factory.h"
36 #include "chrome/browser/ssl/security_state_model.h"
37 #include "chrome/browser/translate/chrome_translate_client.h" 36 #include "chrome/browser/translate/chrome_translate_client.h"
38 #include "chrome/browser/translate/cld_data_harness.h" 37 #include "chrome/browser/translate/cld_data_harness.h"
39 #include "chrome/browser/translate/cld_data_harness_factory.h" 38 #include "chrome/browser/translate/cld_data_harness_factory.h"
40 #include "chrome/browser/ui/browser.h" 39 #include "chrome/browser/ui/browser.h"
41 #include "chrome/browser/ui/browser_command_controller.h" 40 #include "chrome/browser/ui/browser_command_controller.h"
42 #include "chrome/browser/ui/browser_commands.h" 41 #include "chrome/browser/ui/browser_commands.h"
43 #include "chrome/browser/ui/browser_finder.h" 42 #include "chrome/browser/ui/browser_finder.h"
44 #include "chrome/browser/ui/browser_iterator.h" 43 #include "chrome/browser/ui/browser_iterator.h"
45 #include "chrome/browser/ui/browser_tabstrip.h" 44 #include "chrome/browser/ui/browser_tabstrip.h"
46 #include "chrome/browser/ui/browser_ui_prefs.h" 45 #include "chrome/browser/ui/browser_ui_prefs.h"
(...skipping 3263 matching lines...) Expand 10 before | Expand all | Expand 10 after
3310 Browser* browser = new Browser(params); 3309 Browser* browser = new Browser(params);
3311 gfx::Rect bounds = browser->window()->GetBounds(); 3310 gfx::Rect bounds = browser->window()->GetBounds();
3312 3311
3313 // Should be EXPECT_EQ, but this width is inconsistent across platforms. 3312 // Should be EXPECT_EQ, but this width is inconsistent across platforms.
3314 // See https://crbug.com/567925. 3313 // See https://crbug.com/567925.
3315 EXPECT_GE(bounds.width(), 100); 3314 EXPECT_GE(bounds.width(), 100);
3316 EXPECT_EQ(122, bounds.height()); 3315 EXPECT_EQ(122, bounds.height());
3317 browser->window()->Close(); 3316 browser->window()->Close();
3318 } 3317 }
3319 } 3318 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698