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

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

Issue 2333003002: Changed previews component to be a layered component. (Closed)
Patch Set: Rebased on master Created 4 years, 3 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 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_PREVIEWS_UI_SERVICE_H_ 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_
6 #define COMPONENTS_PREVIEWS_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/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 15
16 namespace previews { 16 namespace previews {
(...skipping 21 matching lines...) Expand all
38 // The IO thread task runner. Used to post tasks to |io_data_|. 38 // The IO thread task runner. Used to post tasks to |io_data_|.
39 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; 39 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
40 40
41 base::WeakPtrFactory<PreviewsUIService> weak_factory_; 41 base::WeakPtrFactory<PreviewsUIService> weak_factory_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService); 43 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService);
44 }; 44 };
45 45
46 } // namespace previews 46 } // namespace previews
47 47
48 #endif // COMPONENTS_PREVIEWS_PREVIEWS_UI_SERVICE_H_ 48 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_
OLDNEW
« no previous file with comments | « components/previews/core/previews_io_data_unittest.cc ('k') | components/previews/core/previews_ui_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698