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

Side by Side Diff: components/web_restrictions/browser/web_restrictions_client.cc

Issue 2691243003: Reland of move header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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
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 "components/web_restrictions/browser/web_restrictions_client.h" 5 #include "components/web_restrictions/browser/web_restrictions_client.h"
6 6
7 #include "base/android/jni_string.h" 7 #include "base/android/jni_string.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/task_scheduler/post_task.h" 11 #include "base/task_scheduler/post_task.h"
12 #include "base/threading/sequenced_worker_pool.h"
12 #include "base/threading/thread_restrictions.h" 13 #include "base/threading/thread_restrictions.h"
13 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
14 #include "jni/WebRestrictionsClient_jni.h" 15 #include "jni/WebRestrictionsClient_jni.h"
15 16
16 using base::android::ScopedJavaGlobalRef; 17 using base::android::ScopedJavaGlobalRef;
17 18
18 namespace web_restrictions { 19 namespace web_restrictions {
19 20
20 namespace { 21 namespace {
21 22
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 base::AutoLock lock(lock_); 244 base::AutoLock lock(lock_);
244 cache_data_.erase(url); 245 cache_data_.erase(url);
245 } 246 }
246 247
247 void WebRestrictionsClient::Cache::Clear() { 248 void WebRestrictionsClient::Cache::Clear() {
248 base::AutoLock lock(lock_); 249 base::AutoLock lock(lock_);
249 cache_data_.clear(); 250 cache_data_.clear();
250 } 251 }
251 252
252 } // namespace web_restrictions 253 } // namespace web_restrictions
OLDNEW
« no previous file with comments | « components/variations/service/variations_service.cc ('k') | content/browser/blob_storage/blob_storage_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698