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

Side by Side Diff: net/base/mock_filter_context.h

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 months 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
« no previous file with comments | « net/base/mime_sniffer_unittest.cc ('k') | net/base/net_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MOCK_FILTER_CONTEXT_H_ 5 #ifndef NET_BASE_MOCK_FILTER_CONTEXT_H_
6 #define NET_BASE_MOCK_FILTER_CONTEXT_H_ 6 #define NET_BASE_MOCK_FILTER_CONTEXT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "googleurl/src/gurl.h"
11 #include "net/base/filter.h" 10 #include "net/base/filter.h"
11 #include "url/gurl.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class MockFilterContext : public FilterContext { 15 class MockFilterContext : public FilterContext {
16 public: 16 public:
17 MockFilterContext(); 17 MockFilterContext();
18 virtual ~MockFilterContext(); 18 virtual ~MockFilterContext();
19 19
20 void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; } 20 void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; }
21 void SetURL(const GURL& gurl) { gurl_ = gurl; } 21 void SetURL(const GURL& gurl) { gurl_ = gurl; }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 bool is_download_; 61 bool is_download_;
62 bool is_sdch_response_; 62 bool is_sdch_response_;
63 int response_code_; 63 int response_code_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(MockFilterContext); 65 DISALLOW_COPY_AND_ASSIGN(MockFilterContext);
66 }; 66 };
67 67
68 } // namespace net 68 } // namespace net
69 69
70 #endif // NET_BASE_MOCK_FILTER_CONTEXT_H_ 70 #endif // NET_BASE_MOCK_FILTER_CONTEXT_H_
OLDNEW
« no previous file with comments | « net/base/mime_sniffer_unittest.cc ('k') | net/base/net_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698