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

Side by Side Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.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/net/spdyproxy/data_reduction_proxy_chrome_settings.h" 5 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/metrics/histogram_macros.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/prefs/pref_service.h" 13 #include "base/prefs/pref_service.h"
14 #include "base/prefs/scoped_user_pref_update.h" 14 #include "base/prefs/scoped_user_pref_update.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "build/build_config.h"
17 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" 19 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
19 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/profiles/profile_manager.h" 21 #include "chrome/browser/profiles/profile_manager.h"
21 #include "chrome/common/pref_names.h" 22 #include "chrome/common/pref_names.h"
22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp ression_stats.h" 23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp ression_stats.h"
23 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig.h" 24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig.h"
24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h" 25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h"
25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv ice.h" 26 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv ice.h"
26 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h" 27 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 #elif defined(OS_OPENBSD) 238 #elif defined(OS_OPENBSD)
238 return data_reduction_proxy::Client::CHROME_OPENBSD; 239 return data_reduction_proxy::Client::CHROME_OPENBSD;
239 #elif defined(OS_SOLARIS) 240 #elif defined(OS_SOLARIS)
240 return data_reduction_proxy::Client::CHROME_SOLARIS; 241 return data_reduction_proxy::Client::CHROME_SOLARIS;
241 #elif defined(OS_QNX) 242 #elif defined(OS_QNX)
242 return data_reduction_proxy::Client::CHROME_QNX; 243 return data_reduction_proxy::Client::CHROME_QNX;
243 #else 244 #else
244 return data_reduction_proxy::Client::UNKNOWN; 245 return data_reduction_proxy::Client::UNKNOWN;
245 #endif 246 #endif
246 } 247 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698