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

Side by Side Diff: chrome/browser/printing/print_system_task_proxy.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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
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 "chrome/browser/printing/print_system_task_proxy.h" 5 #include "chrome/browser/printing/print_system_task_proxy.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 if (num_options > 0 && options) { 103 if (num_options > 0 && options) {
104 cupsMarkOptions(*ppd, num_options, options); 104 cupsMarkOptions(*ppd, num_options, options);
105 cupsFreeOptions(num_options, options); 105 cupsFreeOptions(num_options, options);
106 } 106 }
107 } 107 }
108 } 108 }
109 109
110 } // printing_internal namespace 110 } // printing_internal namespace
111 #endif 111 #endif
112 112
113 using content::BrowserThread;
114
113 namespace { 115 namespace {
114 116
115 const char kDisableColorOption[] = "disableColorOption"; 117 const char kDisableColorOption[] = "disableColorOption";
116 const char kSetColorAsDefault[] = "setColorAsDefault"; 118 const char kSetColorAsDefault[] = "setColorAsDefault";
117 const char kSetDuplexAsDefault[] = "setDuplexAsDefault"; 119 const char kSetDuplexAsDefault[] = "setDuplexAsDefault";
118 const char kPrinterColorModelForBlack[] = "printerColorModelForBlack"; 120 const char kPrinterColorModelForBlack[] = "printerColorModelForBlack";
119 const char kPrinterColorModelForColor[] = "printerColorModelForColor"; 121 const char kPrinterColorModelForColor[] = "printerColorModelForColor";
120 const char kPrinterDefaultDuplexValue[] = "printerDefaultDuplexValue"; 122 const char kPrinterDefaultDuplexValue[] = "printerDefaultDuplexValue";
121 123
122 #if defined(OS_WIN) 124 #if defined(OS_WIN)
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 base::Bind(&PrintSystemTaskProxy::SendPrinterCapabilities, this, 538 base::Bind(&PrintSystemTaskProxy::SendPrinterCapabilities, this,
537 settings_info.DeepCopy())); 539 settings_info.DeepCopy()));
538 } 540 }
539 541
540 void PrintSystemTaskProxy::SendPrinterCapabilities( 542 void PrintSystemTaskProxy::SendPrinterCapabilities(
541 DictionaryValue* settings_info) { 543 DictionaryValue* settings_info) {
542 if (handler_) 544 if (handler_)
543 handler_->SendPrinterCapabilities(*settings_info); 545 handler_->SendPrinterCapabilities(*settings_info);
544 delete settings_info; 546 delete settings_info;
545 } 547 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_system_task_proxy.h ('k') | chrome/browser/printing/print_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698