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

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

Issue 19894003: Move webplugininfo.h to content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 months 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 | Annotate | Revision Log
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/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" 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 "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 class PluginInstallerObserver; 16 class PluginInstallerObserver;
17 class WeakPluginInstallerObserver; 17 class WeakPluginInstallerObserver;
18 18
19 namespace content { 19 namespace content {
20 class WebContents; 20 class WebContents;
21 }
22
23 namespace webkit {
24 struct WebPluginInfo; 21 struct WebPluginInfo;
25 } 22 }
26 23
27 class PluginInstaller : public content::DownloadItem::Observer { 24 class PluginInstaller : public content::DownloadItem::Observer {
28 public: 25 public:
29 enum InstallerState { 26 enum InstallerState {
30 INSTALLER_STATE_IDLE, 27 INSTALLER_STATE_IDLE,
31 INSTALLER_STATE_DOWNLOADING, 28 INSTALLER_STATE_DOWNLOADING,
32 }; 29 };
33 30
(...skipping 26 matching lines...) Expand all
60 void DownloadCancelled(); 57 void DownloadCancelled();
61 58
62 InstallerState state_; 59 InstallerState state_;
63 ObserverList<PluginInstallerObserver> observers_; 60 ObserverList<PluginInstallerObserver> observers_;
64 ObserverList<WeakPluginInstallerObserver> weak_observers_; 61 ObserverList<WeakPluginInstallerObserver> weak_observers_;
65 62
66 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); 63 DISALLOW_COPY_AND_ASSIGN(PluginInstaller);
67 }; 64 };
68 65
69 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ 66 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698