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

Side by Side Diff: content/test/net/url_request_user_data_helper.h

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix layering problem with unittest Created 8 years, 7 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_TEST_NET_URL_REQUEST_USER_DATA_HELPER_H_
6 #define CONTENT_TEST_NET_URL_REQUEST_USER_DATA_HELPER_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10
11 namespace net {
12 class URLRequest;
13 }
14
15 // Helper for dealing with URLRequestUserData in test code.
16 class URLRequestUserDataHelper {
17 public:
18 static void AssociateWithRenderView(net::URLRequest* request,
19 int render_process_id,
20 int render_view_id);
21 static void DissasociateFromRenderView(net::URLRequest* request);
22
23 private:
24 DISALLOW_IMPLICIT_CONSTRUCTORS(URLRequestUserDataHelper);
25 };
26
27 #endif // CONTENT_TEST_NET_URL_REQUEST_USER_DATA_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698