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

Side by Side Diff: components/leveldb/remote_iterator_unittest.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « components/leveldb/public/cpp/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <map> 5 #include <map>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "components/leveldb/public/cpp/remote_iterator.h" 10 #include "components/leveldb/public/cpp/remote_iterator.h"
11 #include "components/leveldb/public/cpp/util.h" 11 #include "components/leveldb/public/cpp/util.h"
12 #include "components/leveldb/public/interfaces/leveldb.mojom.h" 12 #include "components/leveldb/public/interfaces/leveldb.mojom.h"
13 #include "services/shell/public/cpp/service_context.h" 13 #include "services/service_manager/public/cpp/service_context.h"
14 #include "services/shell/public/cpp/service_test.h" 14 #include "services/service_manager/public/cpp/service_test.h"
15 15
16 namespace leveldb { 16 namespace leveldb {
17 namespace { 17 namespace {
18 18
19 template <typename... Args> 19 template <typename... Args>
20 void IgnoreAllArgs(Args&&...) {} 20 void IgnoreAllArgs(Args&&...) {}
21 21
22 template <typename... Args> 22 template <typename... Args>
23 void DoCaptures(typename std::decay<Args>::type*... out_args, 23 void DoCaptures(typename std::decay<Args>::type*... out_args,
24 const base::Closure& quit_closure, 24 const base::Closure& quit_closure,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 EXPECT_TRUE(it.Valid()); 166 EXPECT_TRUE(it.Valid());
167 EXPECT_EQ("a", it.key()); 167 EXPECT_EQ("a", it.key());
168 EXPECT_EQ("first", it.value()); 168 EXPECT_EQ("first", it.value());
169 169
170 it.Prev(); 170 it.Prev();
171 EXPECT_FALSE(it.Valid()); 171 EXPECT_FALSE(it.Valid());
172 } 172 }
173 173
174 } // namespace 174 } // namespace
175 } // namespace leveldb 175 } // namespace leveldb
OLDNEW
« no previous file with comments | « components/leveldb/public/cpp/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698