Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Side by Side Diff: chrome/common/net/net_resource_provider.h

Issue 8820016: Don't attempt to forward declare StringPiece. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/common/jstemplate_builder.h ('k') | chrome/renderer/static_v8_external_string_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698