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

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

Issue 10332117: Revert 136573 - Extract StartupTabs and startup types from StartupBrowserCreator. (Closed) Base URL: svn://svn.chromium.org/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
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_COMPOSITE_SETTINGS_CHANGE_H_ 5 #ifndef CHROME_BROWSER_PROTECTOR_COMPOSITE_SETTINGS_CHANGE_H_
6 #define CHROME_BROWSER_PROTECTOR_COMPOSITE_SETTINGS_CHANGE_H_ 6 #define CHROME_BROWSER_PROTECTOR_COMPOSITE_SETTINGS_CHANGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 10
11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_vector.h" 11 #include "base/memory/scoped_vector.h"
13 #include "chrome/browser/protector/base_setting_change.h" 12 #include "chrome/browser/protector/base_setting_change.h"
14 13
15 namespace protector { 14 namespace protector {
16 15
17 // Class for tracking multiple settings changes as a single change. 16 // Class for tracking multiple settings changes as a single change.
18 class CompositeSettingsChange : public BaseSettingChange { 17 class CompositeSettingsChange : public BaseSettingChange {
19 public: 18 public:
20 CompositeSettingsChange(); 19 CompositeSettingsChange();
21 virtual ~CompositeSettingsChange(); 20 virtual ~CompositeSettingsChange();
(...skipping 22 matching lines...) Expand all
44 // Display names of merged changes, sorted by their priority. The name with 43 // Display names of merged changes, sorted by their priority. The name with
45 // the highest priority is picked. 44 // the highest priority is picked.
46 std::priority_queue<DisplayName> apply_names_; 45 std::priority_queue<DisplayName> apply_names_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(CompositeSettingsChange); 47 DISALLOW_COPY_AND_ASSIGN(CompositeSettingsChange);
49 }; 48 };
50 49
51 } // namespace protector 50 } // namespace protector
52 51
53 #endif // CHROME_BROWSER_PROTECTOR_COMPOSITE_SETTINGS_CHANGE_H_ 52 #endif // CHROME_BROWSER_PROTECTOR_COMPOSITE_SETTINGS_CHANGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/protector/base_setting_change.h ('k') | chrome/browser/protector/homepage_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698