Don't preload rarely seen large images
[chromium-blink-merge.git] / third_party / cld / encodings / compact_lang_det / win / cld_commandlineflags.h
blob04375bf85248dc5cebc2ec5901501b96acd8992a
1 // Copyright (c) 2006-2009 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.
5 #ifndef ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_
6 #define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_
8 #if !defined(CLD_WINDOWS)
10 #include "base/commandlineflags.h"
12 #else
14 #undef DEFINE_bool
15 #define DEFINE_bool(name, default_value, comment) \
16 const bool FLAGS_##name = default_value;
17 #undef DEFINE_int32
18 #define DEFINE_int32(name, default_value, comment) \
19 const int32 FLAGS_##name = default_value;
21 #undef DECLARE_bool
22 #define DECLARE_bool(name) extern const bool FLAGS_##name;
23 #undef DECLARE_int32
24 #define DECLARE_int32(name) extern int32 FLAGS_##name;
26 #endif
28 #endif // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_