Index: chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
index e627b243f5ba91d0499bbc707b9bd64f50d3140c..67aa98e88ad8596ede8871d84f6eb882a7dc2d1b 100644 |
--- a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
+++ b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
@@ -4,8 +4,9 @@ |
#include "chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h" |
-#include "chrome/browser/ui/pdf/pdf_tab_helper.h" |
#include "chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h" |
+#include "components/pdf/browser/open_pdf_in_reader_prompt_delegate.h" |
+#include "components/pdf/browser/pdf_tab_helper.h" |
#include "grit/generated_resources.h" |
#include "grit/theme_resources.h" |
#include "ui/accessibility/ax_view_state.h" |
@@ -28,7 +29,8 @@ OpenPDFInReaderView::~OpenPDFInReaderView() { |
void OpenPDFInReaderView::Update(content::WebContents* web_contents) { |
model_ = NULL; |
if (web_contents) { |
- PDFTabHelper* pdf_tab_helper = PDFTabHelper::FromWebContents(web_contents); |
+ pdf::PDFTabHelper* pdf_tab_helper = |
+ pdf::PDFTabHelper::FromWebContents(web_contents); |
model_ = pdf_tab_helper->open_in_reader_prompt(); |
} |