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

Side by Side Diff: blimp/client/app/android/blimp_client_session_android.cc

Issue 2201433002: Migrate TabControlFeature from 0.5 to 0.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: some more compile error fix Created 4 years, 4 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
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/android/tab_control_feature_android.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "blimp/client/app/android/blimp_client_session_android.h" 5 #include "blimp/client/app/android/blimp_client_session_android.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "blimp/client/app/user_agent.h" 12 #include "blimp/client/app/user_agent.h"
13 #include "blimp/client/core/contents/tab_control_feature.h"
13 #include "blimp/client/core/session/assignment_source.h" 14 #include "blimp/client/core/session/assignment_source.h"
14 #include "blimp/client/feature/settings_feature.h" 15 #include "blimp/client/feature/settings_feature.h"
15 #include "blimp/client/feature/tab_control_feature.h"
16 #include "components/version_info/version_info.h" 16 #include "components/version_info/version_info.h"
17 #include "jni/BlimpClientSession_jni.h" 17 #include "jni/BlimpClientSession_jni.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 19
20 using base::android::JavaParamRef; 20 using base::android::JavaParamRef;
21 21
22 namespace blimp { 22 namespace blimp {
23 namespace client { 23 namespace client {
24 namespace { 24 namespace {
25 const int kDummyTabId = 0; 25 const int kDummyTabId = 0;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 BlimpConnectionStatistics* stats = 125 BlimpConnectionStatistics* stats =
126 BlimpClientSession::GetBlimpConnectionStatistics(); 126 BlimpClientSession::GetBlimpConnectionStatistics();
127 int metrics[] = {stats->Get(BlimpConnectionStatistics::BYTES_RECEIVED), 127 int metrics[] = {stats->Get(BlimpConnectionStatistics::BYTES_RECEIVED),
128 stats->Get(BlimpConnectionStatistics::BYTES_SENT), 128 stats->Get(BlimpConnectionStatistics::BYTES_SENT),
129 stats->Get(BlimpConnectionStatistics::COMMIT)}; 129 stats->Get(BlimpConnectionStatistics::COMMIT)};
130 return base::android::ToJavaIntArray(env, metrics, arraysize(metrics)); 130 return base::android::ToJavaIntArray(env, metrics, arraysize(metrics));
131 } 131 }
132 132
133 } // namespace client 133 } // namespace client
134 } // namespace blimp 134 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/android/tab_control_feature_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698