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/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/version.h" | |
11 #include "chrome/browser/plugins/plugin_metadata.h" | 10 #include "chrome/browser/plugins/plugin_metadata.h" |
12 #include "content/public/browser/download_item.h" | 11 #include "content/public/browser/download_item.h" |
13 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
14 #include "url/gurl.h" | 13 #include "url/gurl.h" |
15 | 14 |
16 class PluginInstallerObserver; | 15 class PluginInstallerObserver; |
17 class WeakPluginInstallerObserver; | 16 class WeakPluginInstallerObserver; |
18 | 17 |
19 namespace content { | 18 namespace content { |
20 class WebContents; | 19 class WebContents; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 57 |
59 InstallerState state_; | 58 InstallerState state_; |
60 ObserverList<PluginInstallerObserver> observers_; | 59 ObserverList<PluginInstallerObserver> observers_; |
61 int strong_observer_count_; | 60 int strong_observer_count_; |
62 ObserverList<WeakPluginInstallerObserver> weak_observers_; | 61 ObserverList<WeakPluginInstallerObserver> weak_observers_; |
63 | 62 |
64 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); | 63 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); |
65 }; | 64 }; |
66 | 65 |
67 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ | 66 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ |
OLD | NEW |