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

Side by Side Diff: components/component_updater/test/url_request_post_interceptor.cc

Issue 590333002: Replace usage of basictypes.h with a combination of stdint.h and base/macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 2 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
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/component_updater/test/url_request_post_interceptor.h" 5 #include "components/component_updater/test/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/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
10 #include "components/component_updater/test/test_configurator.h" 11 #include "components/component_updater/test/test_configurator.h"
11 #include "net/base/upload_bytes_element_reader.h" 12 #include "net/base/upload_bytes_element_reader.h"
12 #include "net/url_request/url_request.h" 13 #include "net/url_request/url_request.h"
13 #include "net/url_request/url_request_filter.h" 14 #include "net/url_request/url_request_filter.h"
14 #include "net/url_request/url_request_interceptor.h" 15 #include "net/url_request/url_request_interceptor.h"
15 #include "net/url_request/url_request_simple_job.h" 16 #include "net/url_request/url_request_simple_job.h"
16 #include "net/url_request/url_request_test_util.h" 17 #include "net/url_request/url_request_test_util.h"
17 18
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 return CreateInterceptorForPath(POST_INTERCEPT_PATH); 296 return CreateInterceptorForPath(POST_INTERCEPT_PATH);
296 } 297 }
297 298
298 URLRequestPostInterceptor* InterceptorFactory::CreateInterceptorForPath( 299 URLRequestPostInterceptor* InterceptorFactory::CreateInterceptorForPath(
299 const char* url_path) { 300 const char* url_path) {
300 return URLRequestPostInterceptorFactory::CreateInterceptor( 301 return URLRequestPostInterceptorFactory::CreateInterceptor(
301 base::FilePath::FromUTF8Unsafe(url_path)); 302 base::FilePath::FromUTF8Unsafe(url_path));
302 } 303 }
303 304
304 } // namespace component_updater 305 } // namespace component_updater
OLDNEW
« no previous file with comments | « components/component_updater/test/url_request_post_interceptor.h ('k') | components/component_updater/update_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698