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

Unified Diff: chrome/browser/ui/pdf/adobe_reader_info_win.h

Issue 2518493002: Remove obsolete plugin state handling code. (Closed)
Patch Set: Removed unusued function. Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/pdf/adobe_reader_info_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/pdf/adobe_reader_info_win.h
diff --git a/chrome/browser/ui/pdf/adobe_reader_info_win.h b/chrome/browser/ui/pdf/adobe_reader_info_win.h
index 2d241136f30a166c342185f2b6fd2c5ce10b1e3a..821c141ed8b431f72708eab0cddb6f42a596e7a8 100644
--- a/chrome/browser/ui/pdf/adobe_reader_info_win.h
+++ b/chrome/browser/ui/pdf/adobe_reader_info_win.h
@@ -5,35 +5,8 @@
#ifndef CHROME_BROWSER_UI_PDF_ADOBE_READER_INFO_WIN_H_
#define CHROME_BROWSER_UI_PDF_ADOBE_READER_INFO_WIN_H_
-#include "base/callback_forward.h"
-#include "content/public/common/webplugininfo.h"
-
class Profile;
-struct AdobeReaderPluginInfo {
- bool is_installed;
- bool is_enabled; // Only valid in the context of a given Profile.
- bool is_secure; // Whether the plugin is up to date.
- content::WebPluginInfo plugin_info;
-};
-
-typedef base::Callback<void(const AdobeReaderPluginInfo&)>
- GetAdobeReaderPluginInfoCallback;
-
-// Fetches information about the Adobe Reader plugin asynchronously.
-// If |profile| is NULL, then the plugin's enable status cannot be
-// determined.
-void GetAdobeReaderPluginInfoAsync(
- Profile* profile,
- const GetAdobeReaderPluginInfoCallback& callback);
-
-// Fetches information about the Adobe Reader plugin synchronously.
-// Returns true if the plugin info is not stale.
-// If |profile| is NULL, then the plugin's enable status cannot be
-// determined.
-bool GetAdobeReaderPluginInfo(Profile* profile,
- AdobeReaderPluginInfo* reader_info);
-
// Returns true if Adobe Reader or Adobe Acrobat is the default viewer for the
// .pdf extension.
bool IsAdobeReaderDefaultPDFViewer();
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/pdf/adobe_reader_info_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698