| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_PDF_ADOBE_READER_INFO_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_PDF_ADOBE_READER_INFO_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_PDF_ADOBE_READER_INFO_WIN_H_ | 6 #define CHROME_BROWSER_UI_PDF_ADOBE_READER_INFO_WIN_H_ |
| 7 | 7 |
| 8 class Profile; | |
| 9 | |
| 10 // Returns true if Adobe Reader or Adobe Acrobat is the default viewer for the | 8 // Returns true if Adobe Reader or Adobe Acrobat is the default viewer for the |
| 11 // .pdf extension. | 9 // .pdf extension. |
| 12 bool IsAdobeReaderDefaultPDFViewer(); | 10 bool IsAdobeReaderDefaultPDFViewer(); |
| 13 | 11 |
| 14 // If Adobe Reader or Adobe Acrobat is program associated with the .pdf viewer, | 12 // If Adobe Reader or Adobe Acrobat is program associated with the .pdf viewer, |
| 15 // return true if the executable is up to date. | 13 // return true if the executable is up to date. |
| 16 // If Reader/Acrobat is not the default .pdf handler, return false. | 14 // If Reader/Acrobat is not the default .pdf handler, return false. |
| 17 // This function does blocking I/O, since it needs to read from the disk. | 15 // This function does blocking I/O, since it needs to read from the disk. |
| 18 bool IsAdobeReaderUpToDate(); | 16 bool IsAdobeReaderUpToDate(); |
| 19 | 17 |
| 20 #endif // CHROME_BROWSER_UI_PDF_ADOBE_READER_INFO_WIN_H_ | 18 #endif // CHROME_BROWSER_UI_PDF_ADOBE_READER_INFO_WIN_H_ |
| OLD | NEW |