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

Unified Diff: chrome/browser/download/download_prefs.h

Issue 2669773002: Revert changes to DownloadPrefs regarding PDF auto open. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_prefs.h
diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h
index df21f0a0a0432556243302f0daac556de0fac17e..d0c8cfaa6a0abaf5a0643b9418285b817ebb27ad 100644
--- a/chrome/browser/download/download_prefs.h
+++ b/chrome/browser/download/download_prefs.h
@@ -8,7 +8,6 @@
#include <set>
#include "base/files/file_path.h"
-#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "build/build_config.h"
#include "components/prefs/pref_member.h"
@@ -87,12 +86,8 @@ class DownloadPrefs {
// Return whether the user prefers to open PDF downloads in the platform's
// default reader.
bool ShouldOpenPdfInSystemReader() const;
-
- // Used by tests to disable version checks for Adobe.
- void DisableAdobeVersionCheckForTests();
#endif
-
void ResetAutoOpen();
private:
@@ -116,7 +111,6 @@ class DownloadPrefs {
#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
bool should_open_pdf_in_system_reader_;
- bool disable_adobe_version_check_for_tests_;
#endif
DISALLOW_COPY_AND_ASSIGN(DownloadPrefs);
« no previous file with comments | « no previous file | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698