projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
trace-viewer
/
src
/
base
/
guid.js
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
});