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

Side by Side Diff: chrome/browser/managed_mode.h

Issue 10386221: Cleanup: Remove unneeded scoped_ptr.h includes from chrome/browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/infobars/infobar.h ('k') | chrome/browser/metrics/thread_watcher.h » ('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 CHROME_BROWSER_MANAGED_MODE_H_ 5 #ifndef CHROME_BROWSER_MANAGED_MODE_H_
6 #define CHROME_BROWSER_MANAGED_MODE_H_ 6 #define CHROME_BROWSER_MANAGED_MODE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
15 #include "chrome/browser/ui/browser_list.h" 14 #include "chrome/browser/ui/browser_list.h"
16 #include "content/public/browser/notification_observer.h" 15 #include "content/public/browser/notification_observer.h"
17 #include "content/public/browser/notification_registrar.h" 16 #include "content/public/browser/notification_registrar.h"
18 17
19 class Browser; 18 class Browser;
20 template<typename T> 19 template<typename T>
21 struct DefaultSingletonTraits; 20 struct DefaultSingletonTraits;
22 class PrefService; 21 class PrefService;
23 class Profile; 22 class Profile;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 content::NotificationRegistrar registrar_; 73 content::NotificationRegistrar registrar_;
75 74
76 // The managed profile. This is non-NULL only while we're entering 75 // The managed profile. This is non-NULL only while we're entering
77 // managed mode. 76 // managed mode.
78 const Profile* managed_profile_; 77 const Profile* managed_profile_;
79 std::set<const Browser*> browsers_to_close_; 78 std::set<const Browser*> browsers_to_close_;
80 std::vector<EnterCallback> callbacks_; 79 std::vector<EnterCallback> callbacks_;
81 }; 80 };
82 81
83 #endif // CHROME_BROWSER_MANAGED_MODE_H_ 82 #endif // CHROME_BROWSER_MANAGED_MODE_H_
OLDNEW
« no previous file with comments | « chrome/browser/infobars/infobar.h ('k') | chrome/browser/metrics/thread_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698