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

Side by Side Diff: content/gpu/gpu_child_thread.cc

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/gpu/gpu_child_thread.h" 5 #include "content/gpu/gpu_child_thread.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 #endif 516 #endif
517 517
518 void GpuChildThread::OnLoseAllContexts() { 518 void GpuChildThread::OnLoseAllContexts() {
519 if (gpu_channel_manager_) { 519 if (gpu_channel_manager_) {
520 gpu_channel_manager_->DestroyAllChannels(); 520 gpu_channel_manager_->DestroyAllChannels();
521 media_gpu_channel_manager_->DestroyAllChannels(); 521 media_gpu_channel_manager_->DestroyAllChannels();
522 } 522 }
523 } 523 }
524 524
525 void GpuChildThread::BindServiceFactoryRequest( 525 void GpuChildThread::BindServiceFactoryRequest(
526 shell::mojom::ServiceFactoryRequest request) { 526 service_manager::mojom::ServiceFactoryRequest request) {
527 DVLOG(1) << "GPU: Binding shell::mojom::ServiceFactoryRequest"; 527 DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest";
528 DCHECK(service_factory_); 528 DCHECK(service_factory_);
529 service_factory_bindings_.AddBinding(service_factory_.get(), 529 service_factory_bindings_.AddBinding(service_factory_.get(),
530 std::move(request)); 530 std::move(request));
531 } 531 }
532 532
533 } // namespace content 533 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698