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

Side by Side Diff: services/navigation/navigation.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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
« no previous file with comments | « services/image_decoder/image_decoder_service.cc ('k') | services/navigation/public/cpp/view.cc » ('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 "services/navigation/navigation.h" 5 #include "services/navigation/navigation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h"
8 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
9 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
10 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
11 #include "services/navigation/view_impl.h" 12 #include "services/navigation/view_impl.h"
12 #include "services/service_manager/public/cpp/connector.h" 13 #include "services/service_manager/public/cpp/connector.h"
13 #include "services/service_manager/public/cpp/interface_registry.h" 14 #include "services/service_manager/public/cpp/interface_registry.h"
14 #include "services/service_manager/public/cpp/service_context.h" 15 #include "services/service_manager/public/cpp/service_context.h"
15 16
16 namespace navigation { 17 namespace navigation {
17 18
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void Navigation::CreateViewFactory(mojom::ViewFactoryRequest request) { 76 void Navigation::CreateViewFactory(mojom::ViewFactoryRequest request) {
76 bindings_.AddBinding(this, std::move(request)); 77 bindings_.AddBinding(this, std::move(request));
77 refs_.insert(ref_factory_.CreateRef()); 78 refs_.insert(ref_factory_.CreateRef());
78 } 79 }
79 80
80 void Navigation::ViewFactoryLost() { 81 void Navigation::ViewFactoryLost() {
81 refs_.erase(refs_.begin()); 82 refs_.erase(refs_.begin());
82 } 83 }
83 84
84 } // navigation 85 } // navigation
OLDNEW
« no previous file with comments | « services/image_decoder/image_decoder_service.cc ('k') | services/navigation/public/cpp/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698