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

Side by Side Diff: components/previews/core/previews_ui_service.h

Issue 2433793003: Generalize Previews Type code (Closed)
Patch Set: tbansal comment Created 4 years, 2 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/previews/core/previews_opt_out_store_sql.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_
6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ 6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "components/previews/core/previews_experiments.h"
15 #include "components/previews/core/previews_opt_out_store.h" 16 #include "components/previews/core/previews_opt_out_store.h"
16 17
17 class GURL; 18 class GURL;
18 19
19 namespace base { 20 namespace base {
20 class SingleThreadTaskRunner; 21 class SingleThreadTaskRunner;
21 } 22 }
22 23
23 namespace previews { 24 namespace previews {
24 class PreviewsIOData; 25 class PreviewsIOData;
(...skipping 28 matching lines...) Expand all
53 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; 54 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
54 55
55 base::WeakPtrFactory<PreviewsUIService> weak_factory_; 56 base::WeakPtrFactory<PreviewsUIService> weak_factory_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService); 58 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService);
58 }; 59 };
59 60
60 } // namespace previews 61 } // namespace previews
61 62
62 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ 63 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_
OLDNEW
« no previous file with comments | « components/previews/core/previews_opt_out_store_sql.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698