Revert of Remove OneClickSigninHelper since it is no longer used. (patchset #5 id...
[chromium-blink-merge.git] / tools / deep_memory_profiler / lib / ordered_dict.py
blobf7d053bd34929c9b359a3ec13f2a7f7f46f7fef9
1 # Copyright 2013 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.
5 # TODO(dmikurube): Remove this file once Python 2.7 is required.
7 import os
8 import sys
10 try:
11 from collections import OrderedDict # pylint: disable=E0611,W0611
12 except ImportError:
13 _BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
14 _SIMPLEJSON_PATH = os.path.join(_BASE_PATH,
15 os.pardir,
16 os.pardir,
17 'third_party')
18 sys.path.insert(0, _SIMPLEJSON_PATH)
19 from simplejson import OrderedDict # pylint: disable=W0611