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