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

Side by Side Diff: chrome/service/cloud_print/print_system_cups.cc

Issue 4167006: Mac cloud print proxy work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up condition Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/service/cloud_print/print_system.h" 5 #include "chrome/service/cloud_print/print_system.h"
6 6
7 #include <cups/cups.h> 7 #include <cups/cups.h>
8 #include <dlfcn.h> 8 #include <dlfcn.h>
9 #include <errno.h> 9 #include <errno.h>
Lei Zhang 2010/10/29 18:46:42 You can also remove dlfcn.h and errno.h.
10 #include <gcrypt.h>
11 #include <pthread.h> 10 #include <pthread.h>
12 11
13 #include <list> 12 #include <list>
14 #include <map> 13 #include <map>
15 14
16 #include "base/file_path.h" 15 #include "base/file_path.h"
17 #include "base/json/json_reader.h" 16 #include "base/json/json_reader.h"
18 #include "base/lock.h" 17 #include "base/lock.h"
19 #include "base/logging.h" 18 #include "base/logging.h"
20 #include "base/message_loop.h" 19 #include "base/message_loop.h"
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 job_title.c_str(), 388 job_title.c_str(),
390 cups_options.size(), 389 cups_options.size(),
391 &(cups_options[0])); 390 &(cups_options[0]));
392 391
393 LOG(INFO) << "CP_CUPS: Job spooled, id: " << job_id; 392 LOG(INFO) << "CP_CUPS: Job spooled, id: " << job_id;
394 393
395 return job_id; 394 return job_id;
396 } 395 }
397 396
398 } // namespace cloud_print 397 } // namespace cloud_print
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698