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

Side by Side Diff: include/v8.h

Issue 371023004: Remove deprecate counter/histogram methods (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 4738 matching lines...) Expand 10 before | Expand all | Expand 10 after
4749 /** 4749 /**
4750 * Sets V8 flags from the command line. 4750 * Sets V8 flags from the command line.
4751 */ 4751 */
4752 static void SetFlagsFromCommandLine(int* argc, 4752 static void SetFlagsFromCommandLine(int* argc,
4753 char** argv, 4753 char** argv,
4754 bool remove_flags); 4754 bool remove_flags);
4755 4755
4756 /** Get the version string. */ 4756 /** Get the version string. */
4757 static const char* GetVersion(); 4757 static const char* GetVersion();
4758 4758
4759 /**
4760 * Enables the host application to provide a mechanism for recording
4761 * statistics counters.
4762 *
4763 * Deprecated, use Isolate::SetCounterFunction instead.
4764 */
4765 static void SetCounterFunction(CounterLookupCallback);
4766
4767 /**
4768 * Enables the host application to provide a mechanism for recording
4769 * histograms. The CreateHistogram function returns a
4770 * histogram which will later be passed to the AddHistogramSample
4771 * function.
4772 *
4773 * Deprecated, use Isolate::SetCreateHistogramFunction instead.
4774 * Isolate::SetAddHistogramSampleFunction instead.
4775 */
4776 static void SetCreateHistogramFunction(CreateHistogramCallback);
4777
4778 /** Deprecated, use Isolate::SetAddHistogramSampleFunction instead. */
4779 static void SetAddHistogramSampleFunction(AddHistogramSampleCallback);
4780
4781 /** Callback function for reporting failed access checks.*/ 4759 /** Callback function for reporting failed access checks.*/
4782 static void SetFailedAccessCheckCallbackFunction(FailedAccessCheckCallback); 4760 static void SetFailedAccessCheckCallbackFunction(FailedAccessCheckCallback);
4783 4761
4784 /** 4762 /**
4785 * Enables the host application to receive a notification before a 4763 * Enables the host application to receive a notification before a
4786 * garbage collection. Allocations are not allowed in the 4764 * garbage collection. Allocations are not allowed in the
4787 * callback function, you therefore cannot manipulate objects (set 4765 * callback function, you therefore cannot manipulate objects (set
4788 * or delete properties for example) since it is possible such 4766 * or delete properties for example) since it is possible such
4789 * operations will result in the allocation of objects. It is possible 4767 * operations will result in the allocation of objects. It is possible
4790 * to specify the GCType filter for your callback. But it is not possible to 4768 * to specify the GCType filter for your callback. But it is not possible to
(...skipping 1939 matching lines...) Expand 10 before | Expand all | Expand 10 after
6730 */ 6708 */
6731 6709
6732 6710
6733 } // namespace v8 6711 } // namespace v8
6734 6712
6735 6713
6736 #undef TYPE_CHECK 6714 #undef TYPE_CHECK
6737 6715
6738 6716
6739 #endif // V8_H_ 6717 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698