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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h

Issue 1846723007: Fix IWYU violators that don't include scoped_ptr.h in CrOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEMO_MODE_DETECTOR_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEMO_MODE_DETECTOR_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEMO_MODE_DETECTOR_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEMO_MODE_DETECTOR_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/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
12 #include "base/time/time.h" 13 #include "base/time/time.h"
13 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
14 #include "chrome/browser/chromeos/idle_detector.h" 15 #include "chrome/browser/chromeos/idle_detector.h"
15 16
16 class PrefRegistrySimple; 17 class PrefRegistrySimple;
17 18
18 namespace chromeos { 19 namespace chromeos {
19 20
20 // Helper for idle state and demo-mode detection. 21 // Helper for idle state and demo-mode detection.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 bool demo_launched_; 58 bool demo_launched_;
58 59
59 base::WeakPtrFactory<DemoModeDetector> weak_ptr_factory_; 60 base::WeakPtrFactory<DemoModeDetector> weak_ptr_factory_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(DemoModeDetector); 62 DISALLOW_COPY_AND_ASSIGN(DemoModeDetector);
62 }; 63 };
63 64
64 } // namespace chromeos 65 } // namespace chromeos
65 66
66 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEMO_MODE_DETECTOR_H_ 67 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEMO_MODE_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ash/tab_scrubber.h ('k') | chromeos/app_mode/kiosk_oem_manifest_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698