1<!DOCTYPE html> 2<!-- 3Copyright (c) 2014 The Chromium Authors. All rights reserved. 4Use of this source code is governed by a BSD-style license that can be 5found in the LICENSE file. 6--> 7<link rel="import" href="/tracing/base/base.html"> 8<script> 9'use strict'; 10 11tr.exportTo('tr.b', function() { 12 var nextGUID = 1; 13 var GUID = { 14 allocate: function() { 15 return nextGUID++; 16 }, 17 18 getLastGuid: function() { 19 return nextGUID - 1; 20 } 21 }; 22 23 return { 24 GUID: GUID 25 }; 26}); 27</script> 28