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

Unified Diff: printing/printing_context.cc

Issue 504763002: Revert of Added PrintingContext::Delegate to get parent view handle and application locale. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « printing/printing_context.h ('k') | printing/printing_context_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context.cc
diff --git a/printing/printing_context.cc b/printing/printing_context.cc
index d2b1e688838f83eb003114360afb409257619b95..c7f22a5003d30292edc910e508f677cd00c8e122 100644
--- a/printing/printing_context.cc
+++ b/printing/printing_context.cc
@@ -18,12 +18,11 @@
const float kCloudPrintMarginInch = 0.25;
}
-PrintingContext::PrintingContext(Delegate* delegate)
- : delegate_(delegate),
- dialog_box_dismissed_(false),
+PrintingContext::PrintingContext(const std::string& app_locale)
+ : dialog_box_dismissed_(false),
in_print_job_(false),
- abort_printing_(false) {
- CHECK(delegate_);
+ abort_printing_(false),
+ app_locale_(app_locale) {
}
PrintingContext::~PrintingContext() {
« no previous file with comments | « printing/printing_context.h ('k') | printing/printing_context_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698