OLD | NEW |
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 "chrome/browser/android/data_usage/external_data_use_observer.h" | 5 #include "chrome/browser/android/data_usage/external_data_use_observer.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
| 9 #include "base/android/context_utils.h" |
9 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
10 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
11 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
12 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
13 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
14 #include "chrome/browser/android/data_usage/data_use_tab_model.h" | 15 #include "chrome/browser/android/data_usage/data_use_tab_model.h" |
15 #include "components/data_usage/core/data_use.h" | 16 #include "components/data_usage/core/data_use.h" |
16 #include "components/variations/variations_associated_data.h" | 17 #include "components/variations/variations_associated_data.h" |
17 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
18 #include "jni/ExternalDataUseObserver_jni.h" | 19 #include "jni/ExternalDataUseObserver_jni.h" |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 return label_; | 478 return label_; |
478 } | 479 } |
479 | 480 |
480 bool RegisterExternalDataUseObserver(JNIEnv* env) { | 481 bool RegisterExternalDataUseObserver(JNIEnv* env) { |
481 return RegisterNativesImpl(env); | 482 return RegisterNativesImpl(env); |
482 } | 483 } |
483 | 484 |
484 } // namespace android | 485 } // namespace android |
485 | 486 |
486 } // namespace chrome | 487 } // namespace chrome |
OLD | NEW |