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

Side by Side Diff: chrome/browser/captive_portal/captive_portal_tab_helper_unittest.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 "chrome/browser/captive_portal/captive_portal_tab_helper.h" 5 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/captive_portal/captive_portal_service.h" 10 #include "chrome/browser/captive_portal/captive_portal_service.h"
10 #include "chrome/browser/captive_portal/captive_portal_tab_reloader.h" 11 #include "chrome/browser/captive_portal/captive_portal_tab_reloader.h"
11 #include "chrome/browser/chrome_notification_types.h" 12 #include "chrome/browser/chrome_notification_types.h"
12 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 13 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
13 #include "content/public/browser/notification_details.h" 14 #include "content/public/browser/notification_details.h"
14 #include "content/public/browser/notification_service.h" 15 #include "content/public/browser/notification_service.h"
15 #include "content/public/browser/notification_source.h" 16 #include "content/public/browser/notification_source.h"
16 #include "content/public/browser/notification_types.h" 17 #include "content/public/browser/notification_types.h"
17 #include "content/public/browser/render_process_host.h" 18 #include "content/public/browser/render_process_host.h"
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 EXPECT_FALSE(tab_helper()->IsLoginTab()); 518 EXPECT_FALSE(tab_helper()->IsLoginTab());
518 519
519 ObservePortalResult(captive_portal::RESULT_BEHIND_CAPTIVE_PORTAL, 520 ObservePortalResult(captive_portal::RESULT_BEHIND_CAPTIVE_PORTAL,
520 captive_portal::RESULT_NO_RESPONSE); 521 captive_portal::RESULT_NO_RESPONSE);
521 EXPECT_FALSE(tab_helper()->IsLoginTab()); 522 EXPECT_FALSE(tab_helper()->IsLoginTab());
522 523
523 ObservePortalResult(captive_portal::RESULT_NO_RESPONSE, 524 ObservePortalResult(captive_portal::RESULT_NO_RESPONSE,
524 captive_portal::RESULT_INTERNET_CONNECTED); 525 captive_portal::RESULT_INTERNET_CONNECTED);
525 EXPECT_FALSE(tab_helper()->IsLoginTab()); 526 EXPECT_FALSE(tab_helper()->IsLoginTab());
526 } 527 }
OLDNEW
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_tab_helper.h ('k') | chrome/browser/captive_portal/captive_portal_tab_reloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698