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

Unified Diff: chrome/browser/printing/printing_message_filter.h

Issue 10808006: Move printing.* prefs from local state to profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased just in case as the CL is a few days old now plus I got my branches all mixed up a bit. Created 8 years, 5 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 | « chrome/browser/printing/print_view_manager.cc ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printing_message_filter.h
diff --git a/chrome/browser/printing/printing_message_filter.h b/chrome/browser/printing/printing_message_filter.h
index 5eac9fd02871c6ce3a8716ccaee6e43c77e06811..a7e95dd76484cf853ad9cbb6ac05b0eb3aaed0ec 100644
--- a/chrome/browser/printing/printing_message_filter.h
+++ b/chrome/browser/printing/printing_message_filter.h
@@ -16,6 +16,8 @@
class FilePath;
struct PrintHostMsg_ScriptedPrint_Params;
+class Profile;
+class ProfileIOData;
namespace base {
class DictionaryValue;
@@ -34,7 +36,7 @@ class PrintJobManager;
// renderer process on the IPC thread.
class PrintingMessageFilter : public content::BrowserMessageFilter {
public:
- explicit PrintingMessageFilter(int render_process_id);
+ PrintingMessageFilter(int render_process_id, Profile* profile);
// content::BrowserMessageFilter methods.
virtual void OverrideThreadForMessage(
@@ -111,6 +113,8 @@ class PrintingMessageFilter : public content::BrowserMessageFilter {
printing::PrintJobManager* print_job_manager_;
+ ProfileIOData* profile_io_data_;
+
int render_process_id_;
DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter);
« no previous file with comments | « chrome/browser/printing/print_view_manager.cc ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698