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

Side by Side Diff: mojo/shell/application_instance.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 | « mojo/shell/application_instance.h ('k') | mojo/shell/application_loader.h » ('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 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 "mojo/shell/application_instance.h" 5 #include "mojo/shell/application_instance.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/atomic_sequence_num.h" 11 #include "base/atomic_sequence_num.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "mojo/application/public/interfaces/content_handler.mojom.h"
15 #include "mojo/common/common_type_converters.h" 14 #include "mojo/common/common_type_converters.h"
16 #include "mojo/common/url_type_converters.h" 15 #include "mojo/common/url_type_converters.h"
17 #include "mojo/shell/application_manager.h" 16 #include "mojo/shell/application_manager.h"
17 #include "mojo/shell/public/interfaces/content_handler.mojom.h"
18 18
19 namespace mojo { 19 namespace mojo {
20 namespace shell { 20 namespace shell {
21 namespace { 21 namespace {
22 22
23 base::StaticAtomicSequenceNumber g_instance_id; 23 base::StaticAtomicSequenceNumber g_instance_id;
24 24
25 const int kInvalidInstanceId = -1; 25 const int kInvalidInstanceId = -1;
26 26
27 } // namespace 27 } // namespace
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 queue_requests_ = false; 194 queue_requests_ = false;
195 for (auto request : queued_client_requests_) 195 for (auto request : queued_client_requests_)
196 CallAcceptConnection(make_scoped_ptr(request)); 196 CallAcceptConnection(make_scoped_ptr(request));
197 197
198 queued_client_requests_.clear(); 198 queued_client_requests_.clear();
199 } 199 }
200 200
201 } // namespace shell 201 } // namespace shell
202 } // namespace mojo 202 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/application_instance.h ('k') | mojo/shell/application_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698