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

Side by Side Diff: components/update_client/url_request_post_interceptor.cc

Issue 1102103002: Move the unit tests files side-by-side with the corresponding .cc files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « components/update_client/url_request_post_interceptor.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/update_client/test/url_request_post_interceptor.h" 5 #include "components/update_client/url_request_post_interceptor.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "components/update_client/test/test_configurator.h" 11 #include "components/update_client/test_configurator.h"
12 #include "net/base/upload_bytes_element_reader.h" 12 #include "net/base/upload_bytes_element_reader.h"
13 #include "net/base/upload_data_stream.h" 13 #include "net/base/upload_data_stream.h"
14 #include "net/url_request/url_request.h" 14 #include "net/url_request/url_request.h"
15 #include "net/url_request/url_request_filter.h" 15 #include "net/url_request/url_request_filter.h"
16 #include "net/url_request/url_request_interceptor.h" 16 #include "net/url_request/url_request_interceptor.h"
17 #include "net/url_request/url_request_simple_job.h" 17 #include "net/url_request/url_request_simple_job.h"
18 #include "net/url_request/url_request_test_util.h" 18 #include "net/url_request/url_request_test_util.h"
19 19
20 namespace update_client { 20 namespace update_client {
21 21
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 return CreateInterceptorForPath(POST_INTERCEPT_PATH); 292 return CreateInterceptorForPath(POST_INTERCEPT_PATH);
293 } 293 }
294 294
295 URLRequestPostInterceptor* InterceptorFactory::CreateInterceptorForPath( 295 URLRequestPostInterceptor* InterceptorFactory::CreateInterceptorForPath(
296 const char* url_path) { 296 const char* url_path) {
297 return URLRequestPostInterceptorFactory::CreateInterceptor( 297 return URLRequestPostInterceptorFactory::CreateInterceptor(
298 base::FilePath::FromUTF8Unsafe(url_path)); 298 base::FilePath::FromUTF8Unsafe(url_path));
299 } 299 }
300 300
301 } // namespace update_client 301 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/url_request_post_interceptor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698