| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/task.h" | 11 #include "base/task.h" |
| 12 #include "chrome/browser/chromeos/network_state_notifier.h" | 12 #include "chrome/browser/chromeos/network_state_notifier.h" |
| 13 #include "chrome/browser/tab_contents/interstitial_page.h" | 13 #include "chrome/browser/tab_contents/interstitial_page.h" |
| 14 #include "chrome/common/notification_observer.h" | 14 #include "chrome/common/notification_observer.h" |
| 15 #include "chrome/common/notification_service.h" | |
| 16 | 15 |
| 17 class DictionaryValue; | 16 class DictionaryValue; |
| 18 class Extension; | 17 class Extension; |
| 19 class TabContents; | 18 class TabContents; |
| 20 | 19 |
| 21 namespace chromeos { | 20 namespace chromeos { |
| 22 | 21 |
| 23 // OfflineLoadPage class shows the interstitial page that is shown | 22 // OfflineLoadPage class shows the interstitial page that is shown |
| 24 // when no network is available and hides when some network (either | 23 // when no network is available and hides when some network (either |
| 25 // one of wifi, 3g or ethernet) becomes available. | 24 // one of wifi, 3g or ethernet) becomes available. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 ScopedRunnableMethodFactory<OfflineLoadPage> method_factory_; | 85 ScopedRunnableMethodFactory<OfflineLoadPage> method_factory_; |
| 87 | 86 |
| 88 bool in_test_; | 87 bool in_test_; |
| 89 | 88 |
| 90 DISALLOW_COPY_AND_ASSIGN(OfflineLoadPage); | 89 DISALLOW_COPY_AND_ASSIGN(OfflineLoadPage); |
| 91 }; | 90 }; |
| 92 | 91 |
| 93 } // namespace chromeos | 92 } // namespace chromeos |
| 94 | 93 |
| 95 #endif // CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ | 94 #endif // CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ |
| OLD | NEW |