| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_URL_REQUEST_HTTP_USER_AGENT_SETTINGS_H_ | 5 #ifndef NET_URL_REQUEST_HTTP_USER_AGENT_SETTINGS_H_ |
| 6 #define NET_URL_REQUEST_HTTP_USER_AGENT_SETTINGS_H_ | 6 #define NET_URL_REQUEST_HTTP_USER_AGENT_SETTINGS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 // Gets the UA string. | 25 // Gets the UA string. |
| 26 virtual std::string GetUserAgent() const = 0; | 26 virtual std::string GetUserAgent() const = 0; |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(HttpUserAgentSettings); | 29 DISALLOW_COPY_AND_ASSIGN(HttpUserAgentSettings); |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 } // namespace net | 32 } // namespace net |
| 33 | 33 |
| 34 #endif // NET_URL_REQUEST_HTTP_USER_AGENT_SETTINGS_H_ | 34 #endif // NET_URL_REQUEST_HTTP_USER_AGENT_SETTINGS_H_ |
| 35 | |
| OLD | NEW |