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

Side by Side Diff: components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h

Issue 596053003: Add client type in chrome-proxy header for desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extension
Patch Set: Created 6 years, 3 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 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_AUTH_REQUES T_HANDLER_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_AUTH_REQUES T_HANDLER_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_AUTH_REQUES T_HANDLER_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_AUTH_REQUES T_HANDLER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 14 matching lines...) Expand all
25 25
26 namespace data_reduction_proxy { 26 namespace data_reduction_proxy {
27 27
28 #if defined(OS_ANDROID) 28 #if defined(OS_ANDROID)
29 extern const char kAndroidWebViewProtocolVersion[]; 29 extern const char kAndroidWebViewProtocolVersion[];
30 #endif 30 #endif
31 31
32 extern const char kClientAndroidWebview[]; 32 extern const char kClientAndroidWebview[];
33 extern const char kClientChromeAndroid[]; 33 extern const char kClientChromeAndroid[];
34 extern const char kClientChromeIOS[]; 34 extern const char kClientChromeIOS[];
35 extern const char kClientMac[];
bengr 2014/09/23 20:18:50 While you're here, would you please change the con
Not at Google. Contact bengr 2014/09/29 23:47:18 Done.
36 extern const char kClientLinux[];
37 extern const char kClientWindows[];
38 extern const char kClientFreeBsd[];
39 extern const char kClientOpenBsd[];
40 extern const char kClientSolaris[];
41 extern const char kClientQnx[];
35 42
36 class DataReductionProxyParams; 43 class DataReductionProxyParams;
37 44
38 class DataReductionProxyAuthRequestHandler { 45 class DataReductionProxyAuthRequestHandler {
39 public: 46 public:
40 static bool IsKeySetOnCommandLine(); 47 static bool IsKeySetOnCommandLine();
41 48
42 // Constructs a DataReductionProxyAuthRequestHandler object with the given 49 // Constructs a DataReductionProxyAuthRequestHandler object with the given
43 // client type, params, and network task runner. 50 // client type, params, and network task runner.
44 DataReductionProxyAuthRequestHandler( 51 DataReductionProxyAuthRequestHandler(
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 155
149 DataReductionProxyParams* data_reduction_proxy_params_; 156 DataReductionProxyParams* data_reduction_proxy_params_;
150 157
151 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 158 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
152 159
153 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyAuthRequestHandler); 160 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyAuthRequestHandler);
154 }; 161 };
155 162
156 } // namespace data_reduction_proxy 163 } // namespace data_reduction_proxy
157 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_AUTH_REQ UEST_HANDLER_H_ 164 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_AUTH_REQ UEST_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698