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

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

Issue 816143002: Don't use ProfileIOData in PrintingMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mon Dec 22 12:45:15 PST 2014 Created 6 years 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 | « no previous file | 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 1662c000fb830774ee99b875b4b87aadf86b5de7..833eaf0e4f1daff7850922c3a7fb155243c333d7 100644
--- a/chrome/browser/printing/printing_message_filter.h
+++ b/chrome/browser/printing/printing_message_filter.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/compiler_specific.h"
+#include "base/prefs/pref_member.h"
#include "content/public/browser/browser_message_filter.h"
#if defined(OS_WIN)
@@ -114,7 +115,8 @@ class PrintingMessageFilter : public content::BrowserMessageFilter {
bool* cancel);
#endif
- ProfileIOData* profile_io_data_;
+ scoped_ptr<BooleanPrefMember, content::BrowserThread::DeleteOnUIThread>
+ is_printing_enabled_;
const int render_process_id_;
« no previous file with comments | « no previous file | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698