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

Side by Side Diff: content/browser/gpu/gpu_internals_ui.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
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/browser/gpu/gpu_internals_ui.h" 5 #include "content/browser/gpu/gpu_internals_ui.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory>
9 #include <string> 10 #include <string>
10 #include <utility> 11 #include <utility>
11 12
12 #include "base/bind.h" 13 #include "base/bind.h"
13 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
14 #include "base/command_line.h" 15 #include "base/command_line.h"
15 #include "base/environment.h" 16 #include "base/environment.h"
16 #include "base/i18n/time_formatting.h" 17 #include "base/i18n/time_formatting.h"
17 #include "base/macros.h" 18 #include "base/macros.h"
18 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 : WebUIController(web_ui) { 539 : WebUIController(web_ui) {
539 web_ui->AddMessageHandler(new GpuMessageHandler()); 540 web_ui->AddMessageHandler(new GpuMessageHandler());
540 541
541 // Set up the chrome://gpu/ source. 542 // Set up the chrome://gpu/ source.
542 BrowserContext* browser_context = 543 BrowserContext* browser_context =
543 web_ui->GetWebContents()->GetBrowserContext(); 544 web_ui->GetWebContents()->GetBrowserContext();
544 WebUIDataSource::Add(browser_context, CreateGpuHTMLSource()); 545 WebUIDataSource::Add(browser_context, CreateGpuHTMLSource());
545 } 546 }
546 547
547 } // namespace content 548 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.h ('k') | content/child/child_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698