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

Unified Diff: printing/backend/print_backend_cups.cc

Issue 4137013: Revert 64454 - Revert 64441 - Mac cloud print proxy work.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/cloud_print/print_system_cups.cc ('k') | printing/printing.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend_cups.cc
===================================================================
--- printing/backend/print_backend_cups.cc (revision 64476)
+++ printing/backend/print_backend_cups.cc (working copy)
@@ -6,7 +6,9 @@
#include <dlfcn.h>
#include <errno.h>
+#if !defined(OS_MACOSX)
#include <gcrypt.h>
+#endif
#include <pthread.h>
#include "base/file_util.h"
@@ -18,6 +20,7 @@
#include "googleurl/src/gurl.h"
#include "printing/backend/cups_helper.h"
+#if !defined(OS_MACOSX)
GCRY_THREAD_OPTION_PTHREAD_IMPL;
namespace {
@@ -64,6 +67,7 @@
};
} // namespace
+#endif
namespace printing {
@@ -182,8 +186,10 @@
scoped_refptr<PrintBackend> PrintBackend::CreateInstance(
const DictionaryValue* print_backend_settings) {
+#if !defined(OS_MACOSX)
// Initialize gcrypt library.
Singleton<GcryptInitializer>::get();
+#endif
std::string print_server_url_str;
if (print_backend_settings) {
Property changes on: printing/backend/print_backend_cups.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « chrome/service/cloud_print/print_system_cups.cc ('k') | printing/printing.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698