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

Side by Side Diff: chrome/browser/protector/base_setting_change.h

Issue 9701037: Misc. protector cleanup: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « no previous file | chrome/browser/protector/default_search_provider_change.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 CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ 5 #ifndef CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_
6 #define CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ 6 #define CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // TODO(ivankr): CompositeSettingChange that incapsulates multiple 78 // TODO(ivankr): CompositeSettingChange that incapsulates multiple
79 // BaseSettingChange instances. 79 // BaseSettingChange instances.
80 80
81 // Allocates and initializes BaseSettingChange implementation for default search 81 // Allocates and initializes BaseSettingChange implementation for default search
82 // provider setting. Reports corresponding histograms. Both |actual| and 82 // provider setting. Reports corresponding histograms. Both |actual| and
83 // |backup| may be NULL if corresponding values are unknown or invalid. 83 // |backup| may be NULL if corresponding values are unknown or invalid.
84 // |backup| will be owned by the returned |BaseSettingChange| instance. |actual| 84 // |backup| will be owned by the returned |BaseSettingChange| instance. |actual|
85 // is not owned and is safe to destroy after Protector::ShowChange has been 85 // is not owned and is safe to destroy after Protector::ShowChange has been
86 // called for the returned instance. 86 // called for the returned instance.
87 BaseSettingChange* CreateDefaultSearchProviderChange( 87 BaseSettingChange* CreateDefaultSearchProviderChange(const TemplateURL* actual,
88 const TemplateURL* actual, 88 TemplateURL* backup);
89 TemplateURL* backup);
90 89
91 // Allocates and initializes BaseSettingChange implementation for session 90 // Allocates and initializes BaseSettingChange implementation for session
92 // startup setting. Reports corresponding histograms. 91 // startup setting. Reports corresponding histograms.
93 BaseSettingChange* CreateSessionStartupChange( 92 BaseSettingChange* CreateSessionStartupChange(
94 const SessionStartupPref& actual, 93 const SessionStartupPref& actual,
95 const SessionStartupPref& backup); 94 const SessionStartupPref& backup);
96 95
97 } // namespace protector 96 } // namespace protector
98 97
99 #endif // CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ 98 #endif // CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/protector/default_search_provider_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698