| OLD | NEW |
| 1 // Copyright (c) 2011 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_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 base::DictionaryValue* strings) const; | 58 base::DictionaryValue* strings) const; |
| 59 | 59 |
| 60 // True if there is a mobile network is available but | 60 // True if there is a mobile network is available but |
| 61 // has not been activated. | 61 // has not been activated. |
| 62 bool ShowActivationMessage(); | 62 bool ShowActivationMessage(); |
| 63 | 63 |
| 64 scoped_refptr<OfflineResourceHandler> handler_; | 64 scoped_refptr<OfflineResourceHandler> handler_; |
| 65 | 65 |
| 66 // True if the proceed is chosen. | 66 // True if the proceed is chosen. |
| 67 bool proceeded_; | 67 bool proceeded_; |
| 68 ScopedRunnableMethodFactory<OfflineLoadPage> method_factory_; | |
| 69 | 68 |
| 70 bool in_test_; | 69 bool in_test_; |
| 71 | 70 |
| 72 DISALLOW_COPY_AND_ASSIGN(OfflineLoadPage); | 71 DISALLOW_COPY_AND_ASSIGN(OfflineLoadPage); |
| 73 }; | 72 }; |
| 74 | 73 |
| 75 } // namespace chromeos | 74 } // namespace chromeos |
| 76 | 75 |
| 77 #endif // CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ | 76 #endif // CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ |
| OLD | NEW |