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

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

Issue 2533123002: Fix GN missing headers in //base (Closed)
Patch Set: remove dependency on check_gn_headers Created 3 years, 11 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
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/update_client/utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/win/windows_version.h"
10 #include "build/build_config.h" 9 #include "build/build_config.h"
11 #include "components/update_client/update_query_params_delegate.h" 10 #include "components/update_client/update_query_params_delegate.h"
12 11
12 #if defined(OS_WIN)
13 #include "base/win/windows_version.h"
14 #endif
15
13 namespace update_client { 16 namespace update_client {
14 17
15 namespace { 18 namespace {
16 19
17 const char kUnknown[] = "unknown"; 20 const char kUnknown[] = "unknown";
18 21
19 // The request extra information is the OS and architecture, this helps 22 // The request extra information is the OS and architecture, this helps
20 // the server select the right package to be delivered. 23 // the server select the right package to be delivered.
21 const char kOs[] = 24 const char kOs[] =
22 #if defined(OS_MACOSX) 25 #if defined(OS_MACOSX)
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 #endif 129 #endif
127 } 130 }
128 131
129 // static 132 // static
130 void UpdateQueryParams::SetDelegate(UpdateQueryParamsDelegate* delegate) { 133 void UpdateQueryParams::SetDelegate(UpdateQueryParamsDelegate* delegate) {
131 DCHECK(!g_delegate || !delegate || (delegate == g_delegate)); 134 DCHECK(!g_delegate || !delegate || (delegate == g_delegate));
132 g_delegate = delegate; 135 g_delegate = delegate;
133 } 136 }
134 137
135 } // namespace update_client 138 } // namespace update_client
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/update_client/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698