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

Side by Side Diff: chrome/browser/policy/cloud/test_request_interceptor.h

Issue 14008005: Move proto files back into chrome/browser/policy/proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "chrome/browser/policy/cloud/proto/device_management_backend.pb.h" 12 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
13 13
14 namespace net { 14 namespace net {
15 class NetworkDelegate; 15 class NetworkDelegate;
16 class URLRequest; 16 class URLRequest;
17 class URLRequestJob; 17 class URLRequestJob;
18 } 18 }
19 19
20 namespace policy { 20 namespace policy {
21 21
22 // Intercepts all requests to the given hostname while in scope, and allows 22 // Intercepts all requests to the given hostname while in scope, and allows
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Owned by URLRequestFilter. This handle is valid on IO and only while the 64 // Owned by URLRequestFilter. This handle is valid on IO and only while the
65 // interceptor is valid. 65 // interceptor is valid.
66 Delegate* delegate_; 66 Delegate* delegate_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(TestRequestInterceptor); 68 DISALLOW_COPY_AND_ASSIGN(TestRequestInterceptor);
69 }; 69 };
70 70
71 } // namespace policy 71 } // namespace policy
72 72
73 #endif // CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ 73 #endif // CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698