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

Side by Side Diff: chrome/browser/profile_resetter/brandcode_config_fetcher.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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/profile_resetter/brandcode_config_fetcher.h" 5 #include "chrome/browser/profile_resetter/brandcode_config_fetcher.h"
6 6
7 #include <stddef.h>
8
9 #include "base/macros.h"
7 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/profile_resetter/brandcoded_default_settings.h" 12 #include "chrome/browser/profile_resetter/brandcoded_default_settings.h"
10 #include "libxml/parser.h" 13 #include "libxml/parser.h"
11 #include "net/base/load_flags.h" 14 #include "net/base/load_flags.h"
12 #include "net/http/http_response_headers.h" 15 #include "net/http/http_response_headers.h"
13 #include "net/url_request/url_fetcher.h" 16 #include "net/url_request/url_fetcher.h"
14 #include "net/url_request/url_request_status.h" 17 #include "net/url_request/url_request_status.h"
15 18
16 namespace { 19 namespace {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 download_timer_.Stop(); 189 download_timer_.Stop();
187 fetch_callback_.Run(); 190 fetch_callback_.Run();
188 } 191 }
189 192
190 void BrandcodeConfigFetcher::OnDownloadTimeout() { 193 void BrandcodeConfigFetcher::OnDownloadTimeout() {
191 if (config_fetcher_) { 194 if (config_fetcher_) {
192 config_fetcher_.reset(); 195 config_fetcher_.reset();
193 fetch_callback_.Run(); 196 fetch_callback_.Run();
194 } 197 }
195 } 198 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698