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

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

Issue 368273011: Revert of Componentize TemplateURLService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_PROFILE_RESETTER_PROFILE_RESETTER_H_ 5 #ifndef CHROME_BROWSER_PROFILE_RESETTER_PROFILE_RESETTER_H_
6 #define CHROME_BROWSER_PROFILE_RESETTER_PROFILE_RESETTER_H_ 6 #define CHROME_BROWSER_PROFILE_RESETTER_PROFILE_RESETTER_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "base/threading/non_thread_safe.h" 18 #include "base/threading/non_thread_safe.h"
19 #include "chrome/browser/browsing_data/browsing_data_remover.h" 19 #include "chrome/browser/browsing_data/browsing_data_remover.h"
20 #include "chrome/browser/profile_resetter/brandcoded_default_settings.h" 20 #include "chrome/browser/profile_resetter/brandcoded_default_settings.h"
21 #include "components/search_engines/template_url_service.h" 21 #include "chrome/browser/search_engines/template_url_service.h"
22 22
23 class Profile; 23 class Profile;
24 24
25 namespace base { 25 namespace base {
26 class CancellationFlag; 26 class CancellationFlag;
27 } 27 }
28 28
29 // This class allows resetting certain aspects of a profile to default values. 29 // This class allows resetting certain aspects of a profile to default values.
30 // It is used in case the profile has been damaged due to malware or bad user 30 // It is used in case the profile has been damaged due to malware or bad user
31 // settings. 31 // settings.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 typedef base::RefCountedData<base::CancellationFlag> SharedCancellationFlag; 117 typedef base::RefCountedData<base::CancellationFlag> SharedCancellationFlag;
118 118
119 // On Windows returns all the shortcuts which launch Chrome and corresponding 119 // On Windows returns all the shortcuts which launch Chrome and corresponding
120 // arguments. |cancel| can be passed to abort the operation earlier. 120 // arguments. |cancel| can be passed to abort the operation earlier.
121 // Call on FILE thread. 121 // Call on FILE thread.
122 std::vector<ShortcutCommand> GetChromeLaunchShortcuts( 122 std::vector<ShortcutCommand> GetChromeLaunchShortcuts(
123 const scoped_refptr<SharedCancellationFlag>& cancel); 123 const scoped_refptr<SharedCancellationFlag>& cancel);
124 124
125 #endif // CHROME_BROWSER_PROFILE_RESETTER_PROFILE_RESETTER_H_ 125 #endif // CHROME_BROWSER_PROFILE_RESETTER_PROFILE_RESETTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698