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

Side by Side Diff: components/proxy_config/pref_proxy_config_tracker_impl.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "components/proxy_config/pref_proxy_config_tracker_impl.h" 5 #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/location.h" 10 #include "base/location.h"
9 #include "base/metrics/histogram_macros.h" 11 #include "base/metrics/histogram_macros.h"
10 #include "base/prefs/pref_registry_simple.h" 12 #include "base/prefs/pref_registry_simple.h"
11 #include "base/prefs/pref_service.h" 13 #include "base/prefs/pref_service.h"
12 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
13 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
14 #include "base/values.h" 16 #include "base/values.h"
15 #include "components/pref_registry/pref_registry_syncable.h" 17 #include "components/pref_registry/pref_registry_syncable.h"
16 #include "components/proxy_config/proxy_config_dictionary.h" 18 #include "components/proxy_config/proxy_config_dictionary.h"
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 (config_state_ != ProxyPrefs::CONFIG_UNSET && 426 (config_state_ != ProxyPrefs::CONFIG_UNSET &&
425 !pref_config_.Equals(new_config))) { 427 !pref_config_.Equals(new_config))) {
426 config_state_ = config_state; 428 config_state_ = config_state;
427 if (config_state_ != ProxyPrefs::CONFIG_UNSET) 429 if (config_state_ != ProxyPrefs::CONFIG_UNSET)
428 pref_config_ = new_config; 430 pref_config_ = new_config;
429 update_pending_ = true; 431 update_pending_ = true;
430 } 432 }
431 if (update_pending_) 433 if (update_pending_)
432 OnProxyConfigChanged(config_state, new_config); 434 OnProxyConfigChanged(config_state, new_config);
433 } 435 }
OLDNEW
« no previous file with comments | « components/proxy_config/pref_proxy_config_tracker_impl.h ('k') | components/proxy_config/proxy_config_dictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698