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

Side by Side Diff: content/browser/plugin_private_storage_helper.h

Issue 1979733002: Add ability to clear content licenses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: seperate file Created 4 years, 6 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_PLUGIN_PRIVATE_STORAGE_HELPER_H_
6 #define CONTENT_BROWSER_PLUGIN_PRIVATE_STORAGE_HELPER_H_
7
8 #if !defined(ENABLE_PLUGINS)
9 #error This file should only be included when plugins are enabled.
10 #endif
11
12 #include "base/callback_forward.h"
13 #include "base/memory/ref_counted.h"
14 #include "base/time/time.h"
15 #include "url/gurl.h"
16
17 namespace storage {
18 class FileSystemContext;
19 }
20
21 namespace content {
22
23 // Clear the plugin private filesystem data in |filesystem_context| for
24 // |storage_origin| if any file has a last modified time between |begin|
25 // and |end|. If |storage_origin| is not specified, then all available
26 // origins are checked. |callback| is called when the operation is complete.
xhwang 2016/06/02 23:51:45 s/checked/cleared
jrummell 2016/06/08 23:44:08 All origins are checked for file in the required t
27 // This must be called on the file task runner.
28 void ClearPluginPrivateDataOnFileTaskRunner(
29 scoped_refptr<storage::FileSystemContext> filesystem_context,
30 const GURL& storage_origin,
31 const base::Time begin,
32 const base::Time end,
33 const base::Closure& callback);
34
35 } // namespace content
36
37 #endif // CONTENT_BROWSER_PLUGIN_PRIVATE_STORAGE_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/plugin_private_storage_helper.cc » ('j') | content/browser/storage_partition_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698