OLD | NEW |
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 #include "chrome/android/testshell/testshell_tab.h" | 5 #include "chrome/android/testshell/testshell_tab.h" |
6 | 6 |
7 #include "base/android/jni_string.h" | 7 #include "base/android/jni_string.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" | 9 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" |
10 #include "chrome/browser/net/url_fixer_upper.h" | 10 #include "chrome/browser/net/url_fixer_upper.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 jobject obj, | 123 jobject obj, |
124 jint web_contents_ptr, | 124 jint web_contents_ptr, |
125 jint window_android_ptr) { | 125 jint window_android_ptr) { |
126 TestShellTab* tab = new TestShellTab( | 126 TestShellTab* tab = new TestShellTab( |
127 env, | 127 env, |
128 obj, | 128 obj, |
129 reinterpret_cast<WebContents*>(web_contents_ptr), | 129 reinterpret_cast<WebContents*>(web_contents_ptr), |
130 reinterpret_cast<WindowAndroid*>(window_android_ptr)); | 130 reinterpret_cast<WindowAndroid*>(window_android_ptr)); |
131 return reinterpret_cast<jint>(tab); | 131 return reinterpret_cast<jint>(tab); |
132 } | 132 } |
| 133 |
| 134 int64 TestShellTab::GetSyncId() const { |
| 135 NOTIMPLEMENTED(); |
| 136 return 0; |
| 137 } |
| 138 |
| 139 void TestShellTab::SetSyncId(int64 sync_id) { NOTIMPLEMENTED(); } |
OLD | NEW |