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

Unified Diff: components/pdf/renderer/pepper_pdf_host.h

Issue 505243003: pdf: Move PepperPDFHost into the pdf component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf-component
Patch Set: Created 6 years, 4 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
Index: components/pdf/renderer/pepper_pdf_host.h
diff --git a/chrome/renderer/pepper/pepper_pdf_host.h b/components/pdf/renderer/pepper_pdf_host.h
similarity index 91%
rename from chrome/renderer/pepper/pepper_pdf_host.h
rename to components/pdf/renderer/pepper_pdf_host.h
index 6e1d5a62bfe9fbbceaf5cc82ce779417e7e96220..2fa49af2badc1f9b9ee6fdbae48814abbd59fcbf 100644
--- a/chrome/renderer/pepper/pepper_pdf_host.h
+++ b/components/pdf/renderer/pepper_pdf_host.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_RENDERER_PEPPER_PEPPER_PDF_HOST_H_
-#define CHROME_RENDERER_PEPPER_PEPPER_PDF_HOST_H_
+#ifndef COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
+#define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
#include <string>
@@ -34,6 +34,8 @@ struct HostMessageContext;
}
}
+namespace pdf {
+
class PepperPDFHost : public ppapi::host::ResourceHost {
public:
PepperPDFHost(content::RendererPpapiHost* host,
@@ -82,4 +84,6 @@ class PepperPDFHost : public ppapi::host::ResourceHost {
DISALLOW_COPY_AND_ASSIGN(PepperPDFHost);
};
-#endif // CHROME_RENDERER_PEPPER_PEPPER_PDF_HOST_H_
+} // namespace pdf
+
+#endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698