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

Side by Side Diff: components/cronet/android/cronet_url_request_context_adapter.cc

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « components/crash/content/app/breakpad_mac.mm ('k') | components/drive/resource_metadata.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/cronet/android/cronet_url_request_context_adapter.h" 5 #include "components/cronet/android/cronet_url_request_context_adapter.h"
6 6
7 #include <limits.h>
7 #include <stddef.h> 8 #include <stddef.h>
8 9
9 #include <map> 10 #include <map>
10 11
11 #include "base/android/jni_android.h" 12 #include "base/android/jni_android.h"
12 #include "base/android/jni_array.h" 13 #include "base/android/jni_array.h"
13 #include "base/android/jni_string.h" 14 #include "base/android/jni_string.h"
14 #include "base/bind.h" 15 #include "base/bind.h"
15 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
16 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 JNIEnv* env, 658 JNIEnv* env,
658 const JavaParamRef<jclass>& jcaller) { 659 const JavaParamRef<jclass>& jcaller) {
659 base::StatisticsRecorder::Initialize(); 660 base::StatisticsRecorder::Initialize();
660 std::vector<uint8_t> data; 661 std::vector<uint8_t> data;
661 if (!HistogramManager::GetInstance()->GetDeltas(&data)) 662 if (!HistogramManager::GetInstance()->GetDeltas(&data))
662 return ScopedJavaLocalRef<jbyteArray>(); 663 return ScopedJavaLocalRef<jbyteArray>();
663 return base::android::ToJavaByteArray(env, &data[0], data.size()); 664 return base::android::ToJavaByteArray(env, &data[0], data.size());
664 } 665 }
665 666
666 } // namespace cronet 667 } // namespace cronet
OLDNEW
« no previous file with comments | « components/crash/content/app/breakpad_mac.mm ('k') | components/drive/resource_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698