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

Side by Side Diff: printing/printing_context_android.cc

Issue 101643006: Add base:: to a string16 in printing/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_android.h" 5 #include "printing/printing_context_android.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 PrintingContext::Result PrintingContextAndroid::InitWithSettings( 181 PrintingContext::Result PrintingContextAndroid::InitWithSettings(
182 const PrintSettings& settings) { 182 const PrintSettings& settings) {
183 DCHECK(!in_print_job_); 183 DCHECK(!in_print_job_);
184 184
185 settings_ = settings; 185 settings_ = settings;
186 186
187 return OK; 187 return OK;
188 } 188 }
189 189
190 PrintingContext::Result PrintingContextAndroid::NewDocument( 190 PrintingContext::Result PrintingContextAndroid::NewDocument(
191 const string16& document_name) { 191 const base::string16& document_name) {
192 DCHECK(!in_print_job_); 192 DCHECK(!in_print_job_);
193 in_print_job_ = true; 193 in_print_job_ = true;
194 194
195 return OK; 195 return OK;
196 } 196 }
197 197
198 PrintingContext::Result PrintingContextAndroid::NewPage() { 198 PrintingContext::Result PrintingContextAndroid::NewPage() {
199 if (abort_printing_) 199 if (abort_printing_)
200 return CANCEL; 200 return CANCEL;
201 DCHECK(in_print_job_); 201 DCHECK(in_print_job_);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // Intentional No-op. 237 // Intentional No-op.
238 return NULL; 238 return NULL;
239 } 239 }
240 240
241 // static 241 // static
242 bool PrintingContextAndroid::RegisterPrintingContext(JNIEnv* env) { 242 bool PrintingContextAndroid::RegisterPrintingContext(JNIEnv* env) {
243 return RegisterNativesImpl(env); 243 return RegisterNativesImpl(env);
244 } 244 }
245 245
246 } // namespace printing 246 } // namespace printing
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698