OLD | NEW |
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 "chrome/browser/local_discovery/privet_http_impl.h" | 5 #include "chrome/browser/local_discovery/privet_http_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/command_line.h" | 13 #include "base/command_line.h" |
12 #include "base/location.h" | 14 #include "base/location.h" |
13 #include "base/rand_util.h" | 15 #include "base/rand_util.h" |
14 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
16 #include "base/thread_task_runner_handle.h" | 18 #include "base/thread_task_runner_handle.h" |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 PrivetLocalPrintOperation::Delegate* delegate) { | 796 PrivetLocalPrintOperation::Delegate* delegate) { |
795 #if defined(ENABLE_PRINT_PREVIEW) | 797 #if defined(ENABLE_PRINT_PREVIEW) |
796 return scoped_ptr<PrivetLocalPrintOperation>( | 798 return scoped_ptr<PrivetLocalPrintOperation>( |
797 new PrivetLocalPrintOperationImpl(info_client(), delegate)); | 799 new PrivetLocalPrintOperationImpl(info_client(), delegate)); |
798 #else | 800 #else |
799 return scoped_ptr<PrivetLocalPrintOperation>(); | 801 return scoped_ptr<PrivetLocalPrintOperation>(); |
800 #endif // ENABLE_PRINT_PREVIEW | 802 #endif // ENABLE_PRINT_PREVIEW |
801 } | 803 } |
802 | 804 |
803 } // namespace local_discovery | 805 } // namespace local_discovery |
OLD | NEW |