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

Side by Side Diff: components/update_client/update_query_params.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 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 "components/update_client/update_query_params.h" 5 #include "components/update_client/update_query_params.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/win/windows_version.h" 10 #include "base/win/windows_version.h"
11 #include "build/build_config.h"
11 #include "components/update_client/update_query_params_delegate.h" 12 #include "components/update_client/update_query_params_delegate.h"
12 13
13 namespace update_client { 14 namespace update_client {
14 15
15 namespace { 16 namespace {
16 17
17 const char kUnknown[] = "unknown"; 18 const char kUnknown[] = "unknown";
18 19
19 // The request extra information is the OS and architecture, this helps 20 // The request extra information is the OS and architecture, this helps
20 // the server select the right package to be delivered. 21 // the server select the right package to be delivered.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #endif 123 #endif
123 } 124 }
124 125
125 // static 126 // static
126 void UpdateQueryParams::SetDelegate(UpdateQueryParamsDelegate* delegate) { 127 void UpdateQueryParams::SetDelegate(UpdateQueryParamsDelegate* delegate) {
127 DCHECK(!g_delegate || !delegate || (delegate == g_delegate)); 128 DCHECK(!g_delegate || !delegate || (delegate == g_delegate));
128 g_delegate = delegate; 129 g_delegate = delegate;
129 } 130 }
130 131
131 } // namespace update_client 132 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/update_query_params.h ('k') | components/update_client/update_query_params_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698