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

Side by Side Diff: chrome/browser/chromeos/login/auth/auth_prewarmer.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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 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 "chrome/browser/chromeos/login/auth/auth_prewarmer.h" 5 #include "chrome/browser/chromeos/login/auth/auth_prewarmer.h"
6 6
7 #include <stddef.h>
8
7 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/chromeos/login/helper.h" 10 #include "chrome/browser/chromeos/login/helper.h"
9 #include "chrome/browser/chromeos/profiles/profile_helper.h" 11 #include "chrome/browser/chromeos/profiles/profile_helper.h"
10 #include "chrome/browser/net/preconnect.h" 12 #include "chrome/browser/net/preconnect.h"
11 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
12 #include "chromeos/network/network_handler.h" 14 #include "chromeos/network/network_handler.h"
13 #include "chromeos/network/network_state.h" 15 #include "chromeos/network/network_state.h"
14 #include "chromeos/network/network_state_handler.h" 16 #include "chromeos/network/network_state_handler.h"
15 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/notification_source.h" 18 #include "content/public/browser/notification_source.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 bool AuthPrewarmer::IsNetworkConnected() const { 115 bool AuthPrewarmer::IsNetworkConnected() const {
114 NetworkStateHandler* nsh = NetworkHandler::Get()->network_state_handler(); 116 NetworkStateHandler* nsh = NetworkHandler::Get()->network_state_handler();
115 return (nsh->ConnectedNetworkByType(NetworkTypePattern::Default()) != NULL); 117 return (nsh->ConnectedNetworkByType(NetworkTypePattern::Default()) != NULL);
116 } 118 }
117 119
118 net::URLRequestContextGetter* AuthPrewarmer::GetRequestContext() const { 120 net::URLRequestContextGetter* AuthPrewarmer::GetRequestContext() const {
119 return login::GetSigninContext(); 121 return login::GetSigninContext();
120 } 122 }
121 123
122 } // namespace chromeos 124 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698