| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CHROMEOS_LOGIN_SCREENS_TERMS_OF_SERVICE_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_TERMS_OF_SERVICE_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_TERMS_OF_SERVICE_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_TERMS_OF_SERVICE_SCREEN_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 // net::URLFetcherDelegate: | 54 // net::URLFetcherDelegate: |
| 55 void OnURLFetchComplete(const net::URLFetcher* source) override; | 55 void OnURLFetchComplete(const net::URLFetcher* source) override; |
| 56 | 56 |
| 57 TermsOfServiceScreenActor* actor_; | 57 TermsOfServiceScreenActor* actor_; |
| 58 | 58 |
| 59 scoped_ptr<net::URLFetcher> terms_of_service_fetcher_; | 59 scoped_ptr<net::URLFetcher> terms_of_service_fetcher_; |
| 60 | 60 |
| 61 // Timer that enforces a custom (shorter) timeout on the attempt to download | 61 // Timer that enforces a custom (shorter) timeout on the attempt to download |
| 62 // the Terms of Service. | 62 // the Terms of Service. |
| 63 base::OneShotTimer<TermsOfServiceScreen> download_timer_; | 63 base::OneShotTimer download_timer_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(TermsOfServiceScreen); | 65 DISALLOW_COPY_AND_ASSIGN(TermsOfServiceScreen); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace chromeos | 68 } // namespace chromeos |
| 69 | 69 |
| 70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_TERMS_OF_SERVICE_SCREEN_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_TERMS_OF_SERVICE_SCREEN_H_ |
| OLD | NEW |