| Index: components/captive_portal/captive_portal_detector.h
|
| diff --git a/components/captive_portal/captive_portal_detector.h b/components/captive_portal/captive_portal_detector.h
|
| index e25cd443f4e3ba1ac64412349c4872b8fca251ad..b5a26331cf2f033b6c705b7439e15b81ed60e60d 100644
|
| --- a/components/captive_portal/captive_portal_detector.h
|
| +++ b/components/captive_portal/captive_portal_detector.h
|
| @@ -11,7 +11,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "base/time/time.h"
|
| #include "components/captive_portal/captive_portal_export.h"
|
| #include "components/captive_portal/captive_portal_types.h"
|
| @@ -25,8 +25,7 @@ class GURL;
|
| namespace captive_portal {
|
|
|
| class CAPTIVE_PORTAL_EXPORT CaptivePortalDetector
|
| - : public net::URLFetcherDelegate,
|
| - public base::NonThreadSafe {
|
| + : public net::URLFetcherDelegate {
|
| public:
|
| struct Results {
|
| Results()
|
| @@ -104,6 +103,8 @@ class CAPTIVE_PORTAL_EXPORT CaptivePortalDetector
|
| // Test time used by unit tests.
|
| base::Time time_for_testing_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CaptivePortalDetector);
|
| };
|
|
|
|
|