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

Side by Side Diff: extensions/browser/api/idle/idle_manager.h

Issue 2516363005: Inline StringValue into base::Value (Closed)
Patch Set: Rebase and Nits. 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
« no previous file with comments | « components/sync/syncable/syncable_id.h ('k') | skia/ext/benchmarking_canvas.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ 5 #ifndef EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_
6 #define EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ 6 #define EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/scoped_observer.h" 16 #include "base/scoped_observer.h"
17 #include "base/threading/thread_checker.h" 17 #include "base/threading/thread_checker.h"
18 #include "base/timer/timer.h" 18 #include "base/timer/timer.h"
19 #include "components/keyed_service/core/keyed_service.h" 19 #include "components/keyed_service/core/keyed_service.h"
20 #include "extensions/browser/event_router.h" 20 #include "extensions/browser/event_router.h"
21 #include "extensions/browser/extension_registry_observer.h" 21 #include "extensions/browser/extension_registry_observer.h"
22 #include "ui/base/idle/idle.h" 22 #include "ui/base/idle/idle.h"
23 23
24 namespace base { 24 namespace base {
25 class StringValue; 25 class Value;
26 using StringValue = Value;
26 } // namespace base 27 } // namespace base
27 28
28 namespace content { 29 namespace content {
29 class BrowserContext; 30 class BrowserContext;
30 } // namespace content 31 } // namespace content
31 32
32 namespace extensions { 33 namespace extensions {
33 class ExtensionRegistry; 34 class ExtensionRegistry;
34 35
35 typedef base::Callback<void(ui::IdleState)> QueryStateCallback; 36 typedef base::Callback<void(ui::IdleState)> QueryStateCallback;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 extension_registry_observer_; 143 extension_registry_observer_;
143 144
144 base::WeakPtrFactory<IdleManager> weak_factory_; 145 base::WeakPtrFactory<IdleManager> weak_factory_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(IdleManager); 147 DISALLOW_COPY_AND_ASSIGN(IdleManager);
147 }; 148 };
148 149
149 } // namespace extensions 150 } // namespace extensions
150 151
151 #endif // EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_ 152 #endif // EXTENSIONS_BROWSER_API_IDLE_IDLE_MANAGER_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/syncable_id.h ('k') | skia/ext/benchmarking_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698