OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/cloud_print_connector.h" | 5 #include "chrome/service/cloud_print/cloud_print_connector.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
9 #include "base/location.h" | 11 #include "base/location.h" |
10 #include "base/md5.h" | 12 #include "base/md5.h" |
11 #include "base/rand_util.h" | 13 #include "base/rand_util.h" |
12 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/string_split.h" | 16 #include "base/strings/string_split.h" |
15 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
16 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 kCloudPrintAPIMaxRetryCount, mime_type, post_data, | 652 kCloudPrintAPIMaxRetryCount, mime_type, post_data, |
651 &CloudPrintConnector::HandleRegisterPrinterResponse); | 653 &CloudPrintConnector::HandleRegisterPrinterResponse); |
652 } | 654 } |
653 | 655 |
654 bool CloudPrintConnector::IsSamePrinter(const std::string& name1, | 656 bool CloudPrintConnector::IsSamePrinter(const std::string& name1, |
655 const std::string& name2) const { | 657 const std::string& name2) const { |
656 return base::EqualsCaseInsensitiveASCII(name1, name2); | 658 return base::EqualsCaseInsensitiveASCII(name1, name2); |
657 } | 659 } |
658 | 660 |
659 } // namespace cloud_print | 661 } // namespace cloud_print |
OLD | NEW |