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_PLUGINS_PLUGIN_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ |
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ | 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ |
7 | 7 |
8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "base/version.h" | 10 #include "base/version.h" |
11 #include "chrome/browser/plugins/plugin_metadata.h" | 11 #include "chrome/browser/plugins/plugin_metadata.h" |
12 #include "content/public/browser/download_item.h" | 12 #include "content/public/browser/download_item.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
15 | 15 |
16 class FilePath; | |
17 class PluginInstallerObserver; | 16 class PluginInstallerObserver; |
18 class WeakPluginInstallerObserver; | 17 class WeakPluginInstallerObserver; |
19 | 18 |
20 namespace content { | 19 namespace content { |
21 class WebContents; | 20 class WebContents; |
22 } | 21 } |
23 | 22 |
24 namespace webkit { | 23 namespace webkit { |
25 struct WebPluginInfo; | 24 struct WebPluginInfo; |
26 } | 25 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void DownloadCancelled(); | 62 void DownloadCancelled(); |
64 | 63 |
65 InstallerState state_; | 64 InstallerState state_; |
66 ObserverList<PluginInstallerObserver> observers_; | 65 ObserverList<PluginInstallerObserver> observers_; |
67 ObserverList<WeakPluginInstallerObserver> weak_observers_; | 66 ObserverList<WeakPluginInstallerObserver> weak_observers_; |
68 | 67 |
69 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); | 68 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); |
70 }; | 69 }; |
71 | 70 |
72 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ | 71 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ |
OLD | NEW |