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

Side by Side Diff: tools/deep_memory_profiler/lib/ordered_dict.py

Issue 19346002: Refactor dmprof: Split dmprof.py into modules. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
OLDNEW
(Empty)
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.
4
5 # TODO(dmikurube): Remove this file once Python 2.7 is required.
6
7 import os
8 import sys
9
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
OLDNEW
« no previous file with comments | « tools/deep_memory_profiler/lib/exceptions.py ('k') | tools/deep_memory_profiler/lib/pageframe.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698