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

Side by Side Diff: ppapi/shared_impl/id_assignment.cc

Issue 7578001: Unify var tracking between webkit and the proxy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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.
4
5 #include "ppapi/shared_impl/id_assignment.h"
6
7 #include "base/basictypes.h"
8
9 namespace ppapi {
10
11 const unsigned int kPPIdTypeBits = 2;
12
13 const int32 kMaxPPIdType = std::numeric_limits<int32>::max() >> kPPIdTypeBits;
dmichael (off chromium) 2011/08/08 22:13:59 Is this really the MaxPPIdType, or is it the MaxPP
14
15 COMPILE_ASSERT(PP_ID_TYPE_COUNT <= (1<<kPPIdTypeBits),
16 kPPIdTypeBits_is_too_small_for_all_id_types);
17
18 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698