OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2006 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/base/flags.h" | 11 #include "webrtc/rtc_base/flags.h" |
12 | 12 |
13 #include <stdio.h> | 13 #include <stdio.h> |
14 #include <stdlib.h> | 14 #include <stdlib.h> |
15 #include <string.h> | 15 #include <string.h> |
16 | 16 |
17 #include "webrtc/base/checks.h" | 17 #include "webrtc/rtc_base/checks.h" |
18 | 18 |
19 #if defined(WEBRTC_WIN) | 19 #if defined(WEBRTC_WIN) |
20 #include "webrtc/base/win32.h" | 20 #include "webrtc/rtc_base/win32.h" |
21 #include <shellapi.h> | 21 #include <shellapi.h> |
22 #endif | 22 #endif |
23 | 23 |
24 namespace rtc { | 24 namespace rtc { |
25 // ----------------------------------------------------------------------------- | 25 // ----------------------------------------------------------------------------- |
26 // Implementation of Flag | 26 // Implementation of Flag |
27 | 27 |
28 Flag::Flag(const char* file, const char* name, const char* comment, | 28 Flag::Flag(const char* file, const char* name, const char* comment, |
29 Type type, void* variable, FlagValue default__) | 29 Type type, void* variable, FlagValue default__) |
30 : file_(file), | 30 : file_(file), |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 // need to free each string in the array, and then the array. | 290 // need to free each string in the array, and then the array. |
291 for(int i = 0; i < argc_; i++) { | 291 for(int i = 0; i < argc_; i++) { |
292 delete[] argv_[i]; | 292 delete[] argv_[i]; |
293 } | 293 } |
294 | 294 |
295 delete[] argv_; | 295 delete[] argv_; |
296 } | 296 } |
297 #endif // WEBRTC_WIN | 297 #endif // WEBRTC_WIN |
298 | 298 |
299 } // namespace rtc | 299 } // namespace rtc |
OLD | NEW |