| 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/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| 10 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 11 #include "base/version.h" | 12 #include "base/version.h" |
| 12 #include "chrome/browser/plugins/plugin_metadata.h" | 13 #include "chrome/browser/plugins/plugin_metadata.h" |
| 13 #include "content/public/browser/download_interrupt_reasons.h" | 14 #include "content/public/browser/download_interrupt_reasons.h" |
| 14 #include "content/public/browser/download_item.h" | 15 #include "content/public/browser/download_item.h" |
| 15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 16 | 17 |
| 17 class PluginInstallerObserver; | 18 class PluginInstallerObserver; |
| 18 class WeakPluginInstallerObserver; | 19 class WeakPluginInstallerObserver; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 base::ObserverList<WeakPluginInstallerObserver> weak_observers_; | 70 base::ObserverList<WeakPluginInstallerObserver> weak_observers_; |
| 70 | 71 |
| 71 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, | 72 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, |
| 72 StartInstalling_SuccessfulDownload); | 73 StartInstalling_SuccessfulDownload); |
| 73 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_FailedStart); | 74 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_FailedStart); |
| 74 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_Interrupted); | 75 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_Interrupted); |
| 75 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); | 76 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ | 79 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ |
| OLD | NEW |