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

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

Issue 10384106: 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"
11 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
12 #include "chrome/browser/protector/base_setting_change.h" 13 #include "chrome/browser/protector/base_setting_change.h"
13 14
14 namespace protector { 15 namespace protector {
15 16
16 // Class for tracking multiple settings changes as a single change. 17 // Class for tracking multiple settings changes as a single change.
17 class CompositeSettingsChange : public BaseSettingChange { 18 class CompositeSettingsChange : public BaseSettingChange {
18 public: 19 public:
19 CompositeSettingsChange(); 20 CompositeSettingsChange();
20 virtual ~CompositeSettingsChange(); 21 virtual ~CompositeSettingsChange();
(...skipping 22 matching lines...) Expand all
43 // Display names of merged changes, sorted by their priority. The name with 44 // Display names of merged changes, sorted by their priority. The name with
44 // the highest priority is picked. 45 // the highest priority is picked.
45 std::priority_queue<DisplayName> apply_names_; 46 std::priority_queue<DisplayName> apply_names_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(CompositeSettingsChange); 48 DISALLOW_COPY_AND_ASSIGN(CompositeSettingsChange);
48 }; 49 };
49 50
50 } // namespace protector 51 } // namespace protector
51 52
52 #endif // CHROME_BROWSER_PROTECTOR_COMPOSITE_SETTINGS_CHANGE_H_ 53 #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