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/update_client_unittest.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "base/path_service.h" 14 #include "base/path_service.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/test/sequenced_worker_pool_owner.h" 16 #include "base/test/sequenced_worker_pool_owner.h"
16 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
17 #include "base/values.h" 18 #include "base/values.h"
18 #include "base/version.h" 19 #include "base/version.h"
19 #include "components/update_client/crx_update_item.h" 20 #include "components/update_client/crx_update_item.h"
(...skipping 2095 matching lines...) Expand 10 before | Expand all | Expand 10 after
2115 2116
2116 std::vector<std::string> empty_id_list; 2117 std::vector<std::string> empty_id_list;
2117 base::RunLoop runloop; 2118 base::RunLoop runloop;
2118 update_client->Update( 2119 update_client->Update(
2119 empty_id_list, base::Bind(&DataCallbackFake::Callback), 2120 empty_id_list, base::Bind(&DataCallbackFake::Callback),
2120 base::Bind(&CompletionCallbackFake::Callback, runloop.QuitClosure())); 2121 base::Bind(&CompletionCallbackFake::Callback, runloop.QuitClosure()));
2121 runloop.Run(); 2122 runloop.Run();
2122 } 2123 }
2123 2124
2124 } // namespace update_client 2125 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/update_checker.cc ('k') | components/update_client/update_query_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698