Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Side by Side Diff: chrome/browser/plugins/plugin_installer.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/macros.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/version.h" 12 #include "base/version.h"
13 #include "chrome/browser/plugins/plugin_metadata.h" 13 #include "chrome/browser/plugins/plugin_metadata.h"
14 #include "content/public/browser/download_interrupt_reasons.h" 14 #include "content/public/browser/download_interrupt_reasons.h"
15 #include "content/public/browser/download_item.h" 15 #include "content/public/browser/download_item.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 class PluginInstallerObserver; 18 class PluginInstallerObserver;
19 class WeakPluginInstallerObserver; 19 class WeakPluginInstallerObserver;
20 20
21 namespace content { 21 namespace content {
22 class DownloadManager; 22 class DownloadManager;
23 class WebContents; 23 class WebContents;
24 struct WebPluginInfo;
25 } 24 }
26 25
27 class PluginInstaller : public content::DownloadItem::Observer { 26 class PluginInstaller : public content::DownloadItem::Observer {
28 public: 27 public:
29 enum InstallerState { 28 enum InstallerState {
30 INSTALLER_STATE_IDLE, 29 INSTALLER_STATE_IDLE,
31 INSTALLER_STATE_DOWNLOADING, 30 INSTALLER_STATE_DOWNLOADING,
32 }; 31 };
33 32
34 PluginInstaller(); 33 PluginInstaller();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 base::ObserverList<WeakPluginInstallerObserver> weak_observers_; 69 base::ObserverList<WeakPluginInstallerObserver> weak_observers_;
71 70
72 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, 71 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest,
73 StartInstalling_SuccessfulDownload); 72 StartInstalling_SuccessfulDownload);
74 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_FailedStart); 73 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_FailedStart);
75 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_Interrupted); 74 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_Interrupted);
76 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); 75 DISALLOW_COPY_AND_ASSIGN(PluginInstaller);
77 }; 76 };
78 77
79 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ 78 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.h ('k') | chrome/browser/plugins/plugin_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698