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

Side by Side Diff: chrome/android/testshell/testshell_tab.cc

Issue 16421003: [Sync] Add logic to reassociate tab nodes after restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit. 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 | « chrome/android/testshell/testshell_tab.h ('k') | chrome/browser/android/tab_android.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 // 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
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(); }
OLDNEW
« no previous file with comments | « chrome/android/testshell/testshell_tab.h ('k') | chrome/browser/android/tab_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698