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

Side by Side Diff: chrome/test/pyautolib/pyautolib.i

Issue 11823016: Trace category groups and category filter. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Tagged category support cleanup, parameter renaming, documentation updated. Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 // Swig Interface for PyAuto. 5 // Swig Interface for PyAuto.
6 // PyAuto makes the Automation Proxy interface available in Python 6 // PyAuto makes the Automation Proxy interface available in Python
7 // 7 //
8 // Running swig as: 8 // Running swig as:
9 // swig -python -c++ chrome/test/pyautolib/pyautolib.i 9 // swig -python -c++ chrome/test/pyautolib/pyautolib.i
10 // would generate pyautolib.py, pyautolib_wrap.cxx 10 // would generate pyautolib.py, pyautolib_wrap.cxx
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void Initialize(const FilePath& browser_dir); 121 void Initialize(const FilePath& browser_dir);
122 122
123 %feature("docstring", "Appends a command-line switch (with associated value " 123 %feature("docstring", "Appends a command-line switch (with associated value "
124 "if given) to the list of switches to be passed to the browser " 124 "if given) to the list of switches to be passed to the browser "
125 "upon launch. Should be called before launching the browser. " 125 "upon launch. Should be called before launching the browser. "
126 "For internal use only.") 126 "For internal use only.")
127 AppendBrowserLaunchSwitch; 127 AppendBrowserLaunchSwitch;
128 void AppendBrowserLaunchSwitch(const char* name); 128 void AppendBrowserLaunchSwitch(const char* name);
129 void AppendBrowserLaunchSwitch(const char* name, const char* value); 129 void AppendBrowserLaunchSwitch(const char* name, const char* value);
130 130
131 %feature("docstring", "Begins tracing with the given category string.") 131 %feature("docstring", "Begins tracing with the given tag_patterns string.")
132 BeginTracing; 132 BeginTracing;
133 bool BeginTracing(const std::string& categories); 133 bool BeginTracing(const std::string& tag_patterns);
134 134
135 %feature("docstring", "Ends tracing and returns the collected events.") 135 %feature("docstring", "Ends tracing and returns the collected events.")
136 EndTracing; 136 EndTracing;
137 std::string EndTracing(); 137 std::string EndTracing();
138 138
139 void UseNamedChannelID(const std::string& named_channel_id); 139 void UseNamedChannelID(const std::string& named_channel_id);
140 140
141 %feature("docstring", 141 %feature("docstring",
142 "Fires up the browser and opens a window.") SetUp; 142 "Fires up the browser and opens a window.") SetUp;
143 virtual void SetUp(); 143 virtual void SetUp();
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // Initialize a new SSLOptions that will use the specified certificate. 250 // Initialize a new SSLOptions that will use the specified certificate.
251 explicit SSLOptions(ServerCertificate cert); 251 explicit SSLOptions(ServerCertificate cert);
252 }; 252 };
253 253
254 %{ 254 %{
255 typedef net::TestServer::SSLOptions SSLOptions; 255 typedef net::TestServer::SSLOptions SSLOptions;
256 %} 256 %}
257 257
258 %pointer_class(int, int_ptr); 258 %pointer_class(int, int_ptr);
259 %pointer_class(uint32, uint32_ptr); 259 %pointer_class(uint32, uint32_ptr);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698