OLD | NEW |
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 #include "chrome/browser/policy/test_request_interceptor.h" | 5 #include "chrome/browser/policy/cloud/test_request_interceptor.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 #include <queue> | 8 #include <queue> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/test/test_utils.h" | 14 #include "content/public/test/test_utils.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 } | 248 } |
249 | 249 |
250 // static | 250 // static |
251 TestRequestInterceptor::JobCallback TestRequestInterceptor::RegisterJob( | 251 TestRequestInterceptor::JobCallback TestRequestInterceptor::RegisterJob( |
252 em::DeviceRegisterRequest::Type expected_type, | 252 em::DeviceRegisterRequest::Type expected_type, |
253 bool expect_reregister) { | 253 bool expect_reregister) { |
254 return base::Bind(&RegisterJobCallback, expected_type, expect_reregister); | 254 return base::Bind(&RegisterJobCallback, expected_type, expect_reregister); |
255 } | 255 } |
256 | 256 |
257 } // namespace policy | 257 } // namespace policy |
OLD | NEW |