Home | History | Annotate | Download | only in base
      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
      3 // found in the LICENSE file.
      4 
      5 'use strict';
      6 
      7 base.exportTo('base', function() {
      8 
      9   var nextGUID = 1;
     10   var GUID = {
     11     allocate: function() {
     12       return nextGUID++;
     13     }
     14   };
     15 
     16   return {
     17     GUID: GUID
     18   };
     19 });
     20