| Index: third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_strtoint.h
 | 
| ===================================================================
 | 
| --- third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_strtoint.h	(revision 0)
 | 
| +++ third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_strtoint.h	(revision 0)
 | 
| @@ -0,0 +1,26 @@
 | 
| +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
 | 
| +// Use of this source code is governed by a BSD-style license that can be
 | 
| +// found in the LICENSE file.
 | 
| +
 | 
| +#ifndef BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_STRTOINT_H_
 | 
| +#define BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_STRTOINT_H_
 | 
| +
 | 
| +#if !defined(CLD_WINDOWS)
 | 
| +
 | 
| +//#include "cld/base/strtoint.h"
 | 
| +
 | 
| +#else
 | 
| +
 | 
| +#include <stdlib.h>
 | 
| +
 | 
| +#include "third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_basictypes.h"
 | 
| +
 | 
| +// This implementation is not as good as the one in base/strtoint.h,
 | 
| +// but it's sufficient for our purposes.
 | 
| +inline int32 strto32(const char *nptr, char **endptr, int base) {
 | 
| +  return static_cast<int32>(strtol(nptr, endptr, base));
 | 
| +}
 | 
| +
 | 
| +#endif
 | 
| +
 | 
| +#endif  // BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_STRTOINT_H_
 | 
| 
 | 
| Property changes on: third_party\cld\bar\toolbar\cld\i18n\encodings\compact_lang_det\win\cld_strtoint.h
 | 
| ___________________________________________________________________
 | 
| Added: svn:eol-style
 | 
|    + LF
 | 
| 
 | 
| 
 |