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

Side by Side Diff: components/ui_devtools/protocol_platform.h

Issue 2374513002: Add ui devtools server (Closed)
Patch Set: Add inspector_protocol to DEPS Created 4 years, 1 month 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/ui_devtools/protocol.json ('k') | components/ui_devtools/string_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_UI_DEVTOOLS_PROTOCOL_PLATFORM_H_
6 #define COMPONENTS_UI_DEVTOOLS_PROTOCOL_PLATFORM_H_
7
8 #include "base/memory/ptr_util.h"
9
10 namespace ui {
11 namespace devtools {
12
13 template <typename T>
14 std::unique_ptr<T> wrapUnique(T* ptr) {
15 return base::WrapUnique<T>(ptr);
16 }
17
18 } // namespace devtools
19 } // namespace ui
20
21 #endif // COMPONENTS_UI_DEVTOOLS_PROTOCOL_PLATFORM_H_
OLDNEW
« no previous file with comments | « components/ui_devtools/protocol.json ('k') | components/ui_devtools/string_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698