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

Side by Side Diff: components/arc/arc_bridge_bootstrap.cc

Issue 1829703002: Add ArcEnabled policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments. Created 4 years, 8 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/arc/BUILD.gn ('k') | components/arc/arc_bridge_service_unittest.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 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 "components/arc/arc_bridge_bootstrap.h" 5 #include "components/arc/arc_bridge_bootstrap.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <grp.h> 8 #include <grp.h>
9 #include <unistd.h> 9 #include <unistd.h>
10 10
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 void ArcBridgeBootstrapImpl::SetState(State state) { 334 void ArcBridgeBootstrapImpl::SetState(State state) {
335 DCHECK(thread_checker_.CalledOnValidThread()); 335 DCHECK(thread_checker_.CalledOnValidThread());
336 // DCHECK on enum classes not supported. 336 // DCHECK on enum classes not supported.
337 DCHECK(state_ != state); 337 DCHECK(state_ != state);
338 state_ = state; 338 state_ = state;
339 } 339 }
340 340
341 } // namespace 341 } // namespace
342 342
343 ArcBridgeBootstrap::ArcBridgeBootstrap() {} 343 ArcBridgeBootstrap::ArcBridgeBootstrap() {}
344
344 ArcBridgeBootstrap::~ArcBridgeBootstrap() {} 345 ArcBridgeBootstrap::~ArcBridgeBootstrap() {}
345 346
346 // static 347 // static
347 scoped_ptr<ArcBridgeBootstrap> ArcBridgeBootstrap::Create() { 348 scoped_ptr<ArcBridgeBootstrap> ArcBridgeBootstrap::Create() {
348 return make_scoped_ptr(new ArcBridgeBootstrapImpl()); 349 return make_scoped_ptr(new ArcBridgeBootstrapImpl());
349 } 350 }
350 351
351 } // namespace arc 352 } // namespace arc
OLDNEW
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/arc_bridge_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698