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

Side by Side Diff: chrome/browser/background/background_mode_manager.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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_BACKGROUND_BACKGROUND_MODE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_MODE_MANAGER_H_
6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_MODE_MANAGER_H_ 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_MODE_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 EnableAfterBackgroundAppInstall); 81 EnableAfterBackgroundAppInstall);
82 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, 82 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest,
83 MultiProfile); 83 MultiProfile);
84 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, 84 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest,
85 ProfileInfoCacheStorage); 85 ProfileInfoCacheStorage);
86 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, 86 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest,
87 ProfileInfoCacheObserver); 87 ProfileInfoCacheObserver);
88 88
89 class BackgroundModeData : public ui::SimpleMenuModel::Delegate { 89 class BackgroundModeData : public ui::SimpleMenuModel::Delegate {
90 public: 90 public:
91 explicit BackgroundModeData( 91 BackgroundModeData(
92 int command_id, 92 int command_id,
93 Profile* profile); 93 Profile* profile);
94 virtual ~BackgroundModeData(); 94 virtual ~BackgroundModeData();
95 95
96 // The cached list of BackgroundApplications. 96 // The cached list of BackgroundApplications.
97 scoped_ptr<BackgroundApplicationListModel> applications_; 97 scoped_ptr<BackgroundApplicationListModel> applications_;
98 98
99 // Overrides from SimpleMenuModel::Delegate implementation. 99 // Overrides from SimpleMenuModel::Delegate implementation.
100 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 100 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
101 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 101 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // app). 303 // app).
304 bool keep_alive_for_test_; 304 bool keep_alive_for_test_;
305 305
306 // Provides a command id for each profile as they are created. 306 // Provides a command id for each profile as they are created.
307 int current_command_id_; 307 int current_command_id_;
308 308
309 DISALLOW_COPY_AND_ASSIGN(BackgroundModeManager); 309 DISALLOW_COPY_AND_ASSIGN(BackgroundModeManager);
310 }; 310 };
311 311
312 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_MODE_MANAGER_H_ 312 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_MODE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager_unittest.cc ('k') | chrome/browser/browsing_data/cookies_tree_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698