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

Side by Side Diff: chrome/browser/intranet_redirect_detector.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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 #ifndef CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 5 #ifndef CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
6 #define CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 6 #define CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
13 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
14 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
15 #include "net/base/network_change_notifier.h" 16 #include "net/base/network_change_notifier.h"
16 #include "net/dns/host_resolver_proc.h" 17 #include "net/dns/host_resolver_proc.h"
17 #include "net/url_request/url_fetcher_delegate.h" 18 #include "net/url_request/url_fetcher_delegate.h"
18 #include "url/gurl.h" 19 #include "url/gurl.h"
19 20
20 class PrefRegistrySimple; 21 class PrefRegistrySimple;
21 22
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 std::vector<GURL> resulting_origins_; 73 std::vector<GURL> resulting_origins_;
73 bool in_sleep_; // True if we're in the seven-second "no fetching" period 74 bool in_sleep_; // True if we're in the seven-second "no fetching" period
74 // that begins at browser start, or the one-second "no 75 // that begins at browser start, or the one-second "no
75 // fetching" period that begins after network switches. 76 // fetching" period that begins after network switches.
76 base::WeakPtrFactory<IntranetRedirectDetector> weak_ptr_factory_; 77 base::WeakPtrFactory<IntranetRedirectDetector> weak_ptr_factory_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(IntranetRedirectDetector); 79 DISALLOW_COPY_AND_ASSIGN(IntranetRedirectDetector);
79 }; 80 };
80 81
81 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_ 82 #endif // CHROME_BROWSER_INTRANET_REDIRECT_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/interstitials/security_interstitial_page.h ('k') | chrome/browser/intranet_redirect_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698