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

Side by Side Diff: printing/printing_context_no_system_dialog.cc

Issue 24989002: Cleanup: Use base namespace in printing/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/printing_context_no_system_dialog.h ('k') | printing/printing_context_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "printing/printing_context_no_system_dialog.h" 5 #include "printing/printing_context_no_system_dialog.h"
6 6
7 #include <unicode/ulocdata.h> 7 #include <unicode/ulocdata.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 PrintingContext::Result PrintingContextNoSystemDialog::InitWithSettings( 97 PrintingContext::Result PrintingContextNoSystemDialog::InitWithSettings(
98 const PrintSettings& settings) { 98 const PrintSettings& settings) {
99 DCHECK(!in_print_job_); 99 DCHECK(!in_print_job_);
100 100
101 settings_ = settings; 101 settings_ = settings;
102 102
103 return OK; 103 return OK;
104 } 104 }
105 105
106 PrintingContext::Result PrintingContextNoSystemDialog::NewDocument( 106 PrintingContext::Result PrintingContextNoSystemDialog::NewDocument(
107 const string16& document_name) { 107 const base::string16& document_name) {
108 DCHECK(!in_print_job_); 108 DCHECK(!in_print_job_);
109 in_print_job_ = true; 109 in_print_job_ = true;
110 110
111 return OK; 111 return OK;
112 } 112 }
113 113
114 PrintingContext::Result PrintingContextNoSystemDialog::NewPage() { 114 PrintingContext::Result PrintingContextNoSystemDialog::NewPage() {
115 if (abort_printing_) 115 if (abort_printing_)
116 return CANCEL; 116 return CANCEL;
117 DCHECK(in_print_job_); 117 DCHECK(in_print_job_);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Intentional No-op. 149 // Intentional No-op.
150 } 150 }
151 151
152 gfx::NativeDrawingContext PrintingContextNoSystemDialog::context() const { 152 gfx::NativeDrawingContext PrintingContextNoSystemDialog::context() const {
153 // Intentional No-op. 153 // Intentional No-op.
154 return NULL; 154 return NULL;
155 } 155 }
156 156
157 } // namespace printing 157 } // namespace printing
158 158
OLDNEW
« no previous file with comments | « printing/printing_context_no_system_dialog.h ('k') | printing/printing_context_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698