| 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_PLUGIN_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_PLUGIN_INSTALLER_H_ |
| 6 #define CHROME_BROWSER_PLUGIN_INSTALLER_H_ | 6 #define CHROME_BROWSER_PLUGIN_INSTALLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 #include "base/version.h" | 11 #include "base/version.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "content/public/browser/download_id.h" | 13 #include "content/public/browser/download_id.h" |
| 14 #include "content/public/browser/download_item.h" | 14 #include "content/public/browser/download_item.h" |
| 15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
| 16 | 16 |
| 17 class FilePath; | 17 class FilePath; |
| 18 class PluginInstallerObserver; | 18 class PluginInstallerObserver; |
| 19 class TabContentsWrapper; | 19 class TabContents; |
| 20 typedef TabContents TabContentsWrapper; |
| 20 class WeakPluginInstallerObserver; | 21 class WeakPluginInstallerObserver; |
| 21 | 22 |
| 22 namespace content { | 23 namespace content { |
| 23 class WebContents; | 24 class WebContents; |
| 24 } | 25 } |
| 25 | 26 |
| 26 namespace webkit { | 27 namespace webkit { |
| 27 struct WebPluginInfo; | 28 struct WebPluginInfo; |
| 28 } | 29 } |
| 29 | 30 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 std::map<Version, SecurityStatus, VersionComparator> versions_; | 117 std::map<Version, SecurityStatus, VersionComparator> versions_; |
| 117 | 118 |
| 118 InstallerState state_; | 119 InstallerState state_; |
| 119 ObserverList<PluginInstallerObserver> observers_; | 120 ObserverList<PluginInstallerObserver> observers_; |
| 120 ObserverList<WeakPluginInstallerObserver> weak_observers_; | 121 ObserverList<WeakPluginInstallerObserver> weak_observers_; |
| 121 | 122 |
| 122 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); | 123 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); |
| 123 }; | 124 }; |
| 124 | 125 |
| 125 #endif // CHROME_BROWSER_PLUGIN_INSTALLER_H_ | 126 #endif // CHROME_BROWSER_PLUGIN_INSTALLER_H_ |
| OLD | NEW |