| OLD | NEW |
| 1 // Copyright (c) 2012 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_EXTENSIONS_NAVIGATION_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_NAVIGATION_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_NAVIGATION_OBSERVER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_NAVIGATION_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/extensions/extension_install_prompt.h" | 12 #include "chrome/browser/extensions/extension_install_prompt.h" |
| 13 #include "content/public/browser/notification_observer.h" |
| 13 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
| 14 | 15 |
| 15 class Profile; | 16 class Profile; |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| 18 class NavigationController; | 19 class NavigationController; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace extensions { | 22 namespace extensions { |
| 22 | 23 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 62 |
| 62 // The extension ids we've already prompted the user about. | 63 // The extension ids we've already prompted the user about. |
| 63 std::set<std::string> prompted_extensions_; | 64 std::set<std::string> prompted_extensions_; |
| 64 | 65 |
| 65 DISALLOW_COPY_AND_ASSIGN(NavigationObserver); | 66 DISALLOW_COPY_AND_ASSIGN(NavigationObserver); |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 } // namespace extensions | 69 } // namespace extensions |
| 69 | 70 |
| 70 #endif // CHROME_BROWSER_EXTENSIONS_NAVIGATION_OBSERVER_H_ | 71 #endif // CHROME_BROWSER_EXTENSIONS_NAVIGATION_OBSERVER_H_ |
| OLD | NEW |