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

Side by Side Diff: chrome/browser/local_discovery/privet_http_impl.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privet_http_impl.h ('k') | chrome/browser/local_discovery/privet_local_printer_lister.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698