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

Side by Side Diff: third_party/cld/base/commandlineflags.h

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 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 // This is the file that should be included by any file which declares 5 // This is the file that should be included by any file which declares
6 // or defines a command line flag or wants to parse command line flags 6 // or defines a command line flag or wants to parse command line flags
7 // or print a program usage message (which will include information about 7 // or print a program usage message (which will include information about
8 // flags). Executive summary, in the form of an example foo.cc file: 8 // flags). Executive summary, in the form of an example foo.cc file:
9 // 9 //
10 // #include "foo.h" // foo.h has a line "DECLARE_int32(start);" 10 // #include "foo.h" // foo.h has a line "DECLARE_int32(start);"
11 // 11 //
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 static FlagRegisterer o_##name( \ 434 static FlagRegisterer o_##name( \
435 #name, "string", MAYBE_STRIPPED_HELP(txt), __FILE__, \ 435 #name, "string", MAYBE_STRIPPED_HELP(txt), __FILE__, \
436 s_##name[0].s, new (s_##name[1].s) string(*FLAGS_no##name)); \ 436 s_##name[0].s, new (s_##name[1].s) string(*FLAGS_no##name)); \
437 string& FLAGS_##name = *(reinterpret_cast<string*>(s_##name[0].s)); \ 437 string& FLAGS_##name = *(reinterpret_cast<string*>(s_##name[0].s)); \
438 } \ 438 } \
439 using fLS::FLAGS_##name 439 using fLS::FLAGS_##name
440 440
441 #endif // SWIG 441 #endif // SWIG
442 442
443 #endif // BASE_COMMANDLINEFLAGS_H_ 443 #endif // BASE_COMMANDLINEFLAGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698