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

Side by Side Diff: chrome/browser/local_discovery/gcd_api_flow_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/gcd_api_flow_impl.h" 5 #include "chrome/browser/local_discovery/gcd_api_flow_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
8 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
10 #include "base/values.h" 12 #include "base/values.h"
11 #include "chrome/browser/local_discovery/gcd_constants.h" 13 #include "chrome/browser/local_discovery/gcd_constants.h"
12 #include "chrome/common/cloud_print/cloud_print_constants.h" 14 #include "chrome/common/cloud_print/cloud_print_constants.h"
13 #include "components/cloud_devices/common/cloud_devices_urls.h" 15 #include "components/cloud_devices/common/cloud_devices_urls.h"
14 #include "google_apis/gaia/google_service_auth_error.h" 16 #include "google_apis/gaia/google_service_auth_error.h"
15 #include "net/base/load_flags.h" 17 #include "net/base/load_flags.h"
16 #include "net/base/url_util.h" 18 #include "net/base/url_util.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 105
104 if (!value || !value->GetAsDictionary(&dictionary_value)) { 106 if (!value || !value->GetAsDictionary(&dictionary_value)) {
105 request_->OnGCDAPIFlowError(ERROR_MALFORMED_RESPONSE); 107 request_->OnGCDAPIFlowError(ERROR_MALFORMED_RESPONSE);
106 return; 108 return;
107 } 109 }
108 110
109 request_->OnGCDAPIFlowComplete(*dictionary_value); 111 request_->OnGCDAPIFlowComplete(*dictionary_value);
110 } 112 }
111 113
112 } // namespace local_discovery 114 } // namespace local_discovery
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/gcd_api_flow_impl.h ('k') | chrome/browser/local_discovery/privet_http_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698