| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ | 5 #ifndef CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ |
| 6 #define CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ | 6 #define CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 namespace base { | 9 #include "base/string_piece.h" |
| 10 class StringPiece; | |
| 11 } | |
| 12 | 10 |
| 13 namespace chrome_common_net { | 11 namespace chrome_common_net { |
| 14 | 12 |
| 15 // This is called indirectly by the network layer to access resources. | 13 // This is called indirectly by the network layer to access resources. |
| 16 base::StringPiece NetResourceProvider(int key); | 14 base::StringPiece NetResourceProvider(int key); |
| 17 | 15 |
| 18 } // namespace chrome_common_net | 16 } // namespace chrome_common_net |
| 19 | 17 |
| 20 #endif // CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ | 18 #endif // CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_ |
| OLD | NEW |