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

Side by Side Diff: chrome/browser/captive_portal/captive_portal_browsertest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 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 <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base_switches.h" 10 #include "base/base_switches.h"
11 #include "base/basictypes.h"
12 #include "base/bind.h" 11 #include "base/bind.h"
13 #include "base/command_line.h" 12 #include "base/command_line.h"
14 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
15 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/prefs/pref_service.h" 19 #include "base/prefs/pref_service.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "build/build_config.h"
22 #include "chrome/browser/captive_portal/captive_portal_service.h" 23 #include "chrome/browser/captive_portal/captive_portal_service.h"
23 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 24 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
24 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" 25 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h"
25 #include "chrome/browser/captive_portal/captive_portal_tab_reloader.h" 26 #include "chrome/browser/captive_portal/captive_portal_tab_reloader.h"
26 #include "chrome/browser/chrome_notification_types.h" 27 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/interstitials/security_interstitial_page.h" 28 #include "chrome/browser/interstitials/security_interstitial_page.h"
28 #include "chrome/browser/net/url_request_mock_util.h" 29 #include "chrome/browser/net/url_request_mock_util.h"
29 #include "chrome/browser/profiles/profile.h" 30 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/browser/ssl/captive_portal_blocking_page.h" 31 #include "chrome/browser/ssl/captive_portal_blocking_page.h"
31 #include "chrome/browser/ssl/ssl_blocking_page.h" 32 #include "chrome/browser/ssl/ssl_blocking_page.h"
(...skipping 2806 matching lines...) Expand 10 before | Expand all | Expand 10 after
2838 2839
2839 EXPECT_EQ(CaptivePortalTabReloader::STATE_NEEDS_RELOAD, 2840 EXPECT_EQ(CaptivePortalTabReloader::STATE_NEEDS_RELOAD,
2840 GetStateOfTabReloaderAt(browser(), broken_tab_index)); 2841 GetStateOfTabReloaderAt(browser(), broken_tab_index));
2841 2842
2842 WaitForInterstitialAttach(broken_tab_contents); 2843 WaitForInterstitialAttach(broken_tab_contents);
2843 portal_observer.WaitForResults(1); 2844 portal_observer.WaitForResults(1);
2844 2845
2845 EXPECT_EQ(SSLBlockingPage::kTypeForTesting, 2846 EXPECT_EQ(SSLBlockingPage::kTypeForTesting,
2846 GetInterstitialType(broken_tab_contents)); 2847 GetInterstitialType(broken_tab_contents));
2847 } 2848 }
OLDNEW
« no previous file with comments | « chrome/browser/caps/generate_state_json.cc ('k') | chrome/browser/captive_portal/captive_portal_login_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698