| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_TRANSLATE_CONTENT_BROWSER_CONTENT_TRANSLATE_DRIVER_H_ | 5 #ifndef COMPONENTS_TRANSLATE_CONTENT_BROWSER_CONTENT_TRANSLATE_DRIVER_H_ |
| 6 #define COMPONENTS_TRANSLATE_CONTENT_BROWSER_CONTENT_TRANSLATE_DRIVER_H_ | 6 #define COMPONENTS_TRANSLATE_CONTENT_BROWSER_CONTENT_TRANSLATE_DRIVER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| 11 #include "components/translate/core/browser/translate_driver.h" | 11 #include "components/translate/core/browser/translate_driver.h" |
| 12 #include "components/translate/core/common/translate_errors.h" | 12 #include "components/translate/core/common/translate_errors.h" |
| 13 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class NavigationController; | 16 class NavigationController; |
| 17 class WebContents; | 17 class WebContents; |
| 18 } | 18 } |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 int max_reload_check_attempts_; | 115 int max_reload_check_attempts_; |
| 116 | 116 |
| 117 base::WeakPtrFactory<ContentTranslateDriver> weak_pointer_factory_; | 117 base::WeakPtrFactory<ContentTranslateDriver> weak_pointer_factory_; |
| 118 | 118 |
| 119 DISALLOW_COPY_AND_ASSIGN(ContentTranslateDriver); | 119 DISALLOW_COPY_AND_ASSIGN(ContentTranslateDriver); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace translate | 122 } // namespace translate |
| 123 | 123 |
| 124 #endif // COMPONENTS_TRANSLATE_CONTENT_BROWSER_CONTENT_TRANSLATE_DRIVER_H_ | 124 #endif // COMPONENTS_TRANSLATE_CONTENT_BROWSER_CONTENT_TRANSLATE_DRIVER_H_ |
| OLD | NEW |