| OLD | NEW |
| 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_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ |
| 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ | 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 | 11 |
| 12 namespace update_client { | 12 namespace update_client { |
| 13 | 13 |
| 14 class UpdateQueryParamsDelegate; | 14 class UpdateQueryParamsDelegate; |
| 15 | 15 |
| 16 // Generates a string of URL query parameters to be used when getting | 16 // Generates a string of URL query parameters to be used when getting |
| 17 // component and extension updates. These parameters generally remain | 17 // component and extension updates. These parameters generally remain |
| 18 // fixed for a particular build. Embedders can use the delegate to | 18 // fixed for a particular build. Embedders can use the delegate to |
| 19 // define different implementations. This should be used only in the | 19 // define different implementations. This should be used only in the |
| 20 // browser process. | 20 // browser process. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 51 // Use this delegate. | 51 // Use this delegate. |
| 52 static void SetDelegate(UpdateQueryParamsDelegate* delegate); | 52 static void SetDelegate(UpdateQueryParamsDelegate* delegate); |
| 53 | 53 |
| 54 private: | 54 private: |
| 55 DISALLOW_IMPLICIT_CONSTRUCTORS(UpdateQueryParams); | 55 DISALLOW_IMPLICIT_CONSTRUCTORS(UpdateQueryParams); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace update_client | 58 } // namespace update_client |
| 59 | 59 |
| 60 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ | 60 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ |
| OLD | NEW |