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

Side by Side Diff: Source/bindings/v8/ScriptProfiler.h

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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
« no previous file with comments | « Source/bindings/v8/ScheduledAction.cpp ('k') | Source/bindings/v8/ScriptState.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 29 matching lines...) Expand all
40 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class ExternalArrayVisitor; 44 class ExternalArrayVisitor;
45 class ExternalStringVisitor; 45 class ExternalStringVisitor;
46 class WrappedNodeVisitor; 46 class WrappedNodeVisitor;
47 class Page; 47 class Page;
48 class ScriptObject; 48 class ScriptObject;
49 class ScriptValue; 49 class ScriptValue;
50 class WorkerContext; 50 class WorkerGlobalScope;
51 51
52 class ScriptProfiler { 52 class ScriptProfiler {
53 WTF_MAKE_NONCOPYABLE(ScriptProfiler); 53 WTF_MAKE_NONCOPYABLE(ScriptProfiler);
54 public: 54 public:
55 class HeapSnapshotProgress { 55 class HeapSnapshotProgress {
56 public: 56 public:
57 virtual ~HeapSnapshotProgress() { } 57 virtual ~HeapSnapshotProgress() { }
58 virtual void Start(int totalWork) = 0; 58 virtual void Start(int totalWork) = 0;
59 virtual void Worked(int workDone) = 0; 59 virtual void Worked(int workDone) = 0;
60 virtual void Done() = 0; 60 virtual void Done() = 0;
(...skipping 20 matching lines...) Expand all
81 static void visitExternalStrings(ExternalStringVisitor*); 81 static void visitExternalStrings(ExternalStringVisitor*);
82 static void visitExternalArrays(ExternalArrayVisitor*); 82 static void visitExternalArrays(ExternalArrayVisitor*);
83 static void collectBindingMemoryInfo(MemoryInstrumentation*); 83 static void collectBindingMemoryInfo(MemoryInstrumentation*);
84 static size_t profilerSnapshotsSize(); 84 static size_t profilerSnapshotsSize();
85 static HashMap<String, double>* currentProfileNameIdleTimeMap(); 85 static HashMap<String, double>* currentProfileNameIdleTimeMap();
86 }; 86 };
87 87
88 } // namespace WebCore 88 } // namespace WebCore
89 89
90 #endif // ScriptProfiler_h 90 #endif // ScriptProfiler_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/ScheduledAction.cpp ('k') | Source/bindings/v8/ScriptState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698