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

Side by Side Diff: chrome/browser/android/data_usage/data_use_matcher.cc

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file Created 5 years 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 | « DEPS ('k') | chrome/browser/chromeos/login/hwid_checker.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 "chrome/browser/android/data_usage/data_use_matcher.h" 5 #include "chrome/browser/android/data_usage/data_use_matcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/time/default_tick_clock.h" 11 #include "base/time/default_tick_clock.h"
12 #include "base/time/tick_clock.h" 12 #include "base/time/tick_clock.h"
13 #include "chrome/browser/android/data_usage/external_data_use_observer.h" 13 #include "chrome/browser/android/data_usage/external_data_use_observer.h"
14 #include "third_party/re2/re2/re2.h" 14 #include "third_party/re2/src/re2/re2.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace chrome { 17 namespace chrome {
18 18
19 namespace android { 19 namespace android {
20 20
21 DataUseMatcher::DataUseMatcher( 21 DataUseMatcher::DataUseMatcher(
22 const base::WeakPtr<DataUseTabModel>& data_use_tab_model, 22 const base::WeakPtr<DataUseTabModel>& data_use_tab_model,
23 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, 23 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner,
24 const base::WeakPtr<ExternalDataUseObserver>& external_data_use_observer, 24 const base::WeakPtr<ExternalDataUseObserver>& external_data_use_observer,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 return label_; 171 return label_;
172 } 172 }
173 173
174 const base::TimeTicks& DataUseMatcher::MatchingRule::expiration() const { 174 const base::TimeTicks& DataUseMatcher::MatchingRule::expiration() const {
175 return expiration_; 175 return expiration_;
176 } 176 }
177 177
178 } // namespace android 178 } // namespace android
179 179
180 } // namespace chrome 180 } // namespace chrome
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/browser/chromeos/login/hwid_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698