OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 20 matching lines...) Expand all Loading... |
31 %include "chrome/app/chrome_dll_resource.h" | 31 %include "chrome/app/chrome_dll_resource.h" |
32 %include "chrome/common/automation_constants.h" | 32 %include "chrome/common/automation_constants.h" |
33 %include "chrome/common/pref_names.h" | 33 %include "chrome/common/pref_names.h" |
34 %include "content/public/common/page_type.h" | 34 %include "content/public/common/page_type.h" |
35 %include "content/public/common/security_style.h" | 35 %include "content/public/common/security_style.h" |
36 // Must come before cert_status_flags.h | 36 // Must come before cert_status_flags.h |
37 %include "net/base/net_export.h" | 37 %include "net/base/net_export.h" |
38 %ignore net::MapNetErrorToCertStatus(int); | 38 %ignore net::MapNetErrorToCertStatus(int); |
39 %include "net/cert/cert_status_flags.h" | 39 %include "net/cert/cert_status_flags.h" |
40 | 40 |
41 #if defined(OS_CHROMEOS) | |
42 %include "chrome/browser/chromeos/cros/network_constants.h" | |
43 %{ | |
44 #include "chrome/browser/chromeos/cros/network_constants.h" | |
45 %} | |
46 #endif | |
47 | |
48 %{ | 41 %{ |
49 #include "chrome/common/automation_constants.h" | 42 #include "chrome/common/automation_constants.h" |
50 #include "chrome/common/pref_names.h" | 43 #include "chrome/common/pref_names.h" |
51 #include "chrome/test/automation/browser_proxy.h" | 44 #include "chrome/test/automation/browser_proxy.h" |
52 #include "chrome/test/automation/tab_proxy.h" | 45 #include "chrome/test/automation/tab_proxy.h" |
53 #include "chrome/test/pyautolib/pyautolib.h" | 46 #include "chrome/test/pyautolib/pyautolib.h" |
54 #include "content/public/common/security_style.h" | 47 #include "content/public/common/security_style.h" |
55 #include "net/test/spawned_test_server/spawned_test_server.h" | 48 #include "net/test/spawned_test_server/spawned_test_server.h" |
56 %} | 49 %} |
57 | 50 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 // Initialize a new SSLOptions that will use the specified certificate. | 239 // Initialize a new SSLOptions that will use the specified certificate. |
247 explicit SSLOptions(ServerCertificate cert); | 240 explicit SSLOptions(ServerCertificate cert); |
248 }; | 241 }; |
249 | 242 |
250 %{ | 243 %{ |
251 typedef net::SpawnedTestServer::SSLOptions SSLOptions; | 244 typedef net::SpawnedTestServer::SSLOptions SSLOptions; |
252 %} | 245 %} |
253 | 246 |
254 %pointer_class(int, int_ptr); | 247 %pointer_class(int, int_ptr); |
255 %pointer_class(uint32, uint32_ptr); | 248 %pointer_class(uint32, uint32_ptr); |
OLD | NEW |