| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BASE_NET_MODULE_H__ | 5 #ifndef NET_BASE_NET_MODULE_H__ |
| 6 #define NET_BASE_NET_MODULE_H__ | 6 #define NET_BASE_NET_MODULE_H__ |
| 7 | 7 |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 11 #include "base/string_piece.h" | 9 #include "base/string_piece.h" |
| 12 | 10 |
| 13 namespace net { | 11 namespace net { |
| 14 | 12 |
| 15 // Defines global initializers and associated methods for the net module. | 13 // Defines global initializers and associated methods for the net module. |
| 16 // | 14 // |
| 17 // The network module does not have direct access to the way application | 15 // The network module does not have direct access to the way application |
| 18 // resources are stored and fetched by the embedding application (e.g., it | 16 // resources are stored and fetched by the embedding application (e.g., it |
| 19 // cannot see the ResourceBundle class used by Chrome), so it uses this API to | 17 // cannot see the ResourceBundle class used by Chrome), so it uses this API to |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 // resource provider. | 29 // resource provider. |
| 32 static StringPiece GetResource(int key); | 30 static StringPiece GetResource(int key); |
| 33 | 31 |
| 34 private: | 32 private: |
| 35 DISALLOW_IMPLICIT_CONSTRUCTORS(NetModule); | 33 DISALLOW_IMPLICIT_CONSTRUCTORS(NetModule); |
| 36 }; | 34 }; |
| 37 | 35 |
| 38 } // namespace net | 36 } // namespace net |
| 39 | 37 |
| 40 #endif // NET_BASE_NET_MODULE_H__ | 38 #endif // NET_BASE_NET_MODULE_H__ |
| OLD | NEW |