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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/ProtocolPlatformSTL.h

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #ifndef PlatformSTL_h 5 #ifndef ProtocolPlatformSTL_h
6 #define PlatformSTL_h 6 #define ProtocolPlatformSTL_h
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #define PLATFORM_EXPORT 10 #define PLATFORM_EXPORT
11 #ifndef CHECK 11 #ifndef CHECK
12 #define CHECK(condition) ((void) 0) 12 #define CHECK(condition) ((void) 0)
13 #endif 13 #endif
14 #define DCHECK(condition) ((void) 0) 14 #define DCHECK(condition) ((void) 0)
15 #define NOTREACHED() 15 #define NOTREACHED()
16 #define DCHECK_EQ(i, j) DCHECK(i == j) 16 #define DCHECK_EQ(i, j) DCHECK(i == j)
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 } 282 }
283 283
284 #endif // defined(__APPLE__) && !defined(_LIBCPP_VERSION) 284 #endif // defined(__APPLE__) && !defined(_LIBCPP_VERSION)
285 285
286 template <typename T> 286 template <typename T>
287 std::unique_ptr<T> wrapUnique(T* ptr) 287 std::unique_ptr<T> wrapUnique(T* ptr)
288 { 288 {
289 return std::unique_ptr<T>(ptr); 289 return std::unique_ptr<T>(ptr);
290 } 290 }
291 291
292 #endif // PlatformSTL_h 292 #endif // ProtocolPlatformSTL_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698