Index: components/pdf/browser/open_pdf_in_reader_prompt_client.h |
diff --git a/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h b/components/pdf/browser/open_pdf_in_reader_prompt_client.h |
similarity index 64% |
rename from chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h |
rename to components/pdf/browser/open_pdf_in_reader_prompt_client.h |
index c39d66af82264734483cd92bd7e58366d9a21320..854e6f4d423cb2f4987842a104df323eb712eb3f 100644 |
--- a/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h |
+++ b/components/pdf/browser/open_pdf_in_reader_prompt_client.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_ |
-#define CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_ |
+#ifndef COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_ |
+#define COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_ |
#include "base/strings/string16.h" |
@@ -11,9 +11,11 @@ namespace content { |
struct LoadCommittedDetails; |
} |
-class OpenPDFInReaderPromptDelegate { |
+namespace pdf { |
+ |
+class OpenPDFInReaderPromptClient { |
public: |
- virtual ~OpenPDFInReaderPromptDelegate() {} |
+ virtual ~OpenPDFInReaderPromptClient() {} |
virtual base::string16 GetMessageText() const = 0; |
@@ -29,4 +31,6 @@ class OpenPDFInReaderPromptDelegate { |
virtual void Cancel() = 0; |
}; |
-#endif // CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_ |
+} // namespace pdf |
+ |
+#endif // COMPONENTS_PDF_BROWSER_OPEN_PDF_IN_READER_PROMPT_CLIENT_H_ |