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

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

Issue 16159002: Remove reference to deprecated notification type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/extensions/api/push_messaging/push_messaging_api.h » ('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_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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, 78 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest,
79 DisableBackgroundModeUnderTestFlag); 79 DisableBackgroundModeUnderTestFlag);
80 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest, 80 FRIEND_TEST_ALL_PREFIXES(BackgroundModeManagerTest,
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 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
89 ReloadBackroundExtension);
90 class BackgroundModeData : public ui::SimpleMenuModel::Delegate { 88 class BackgroundModeData : public ui::SimpleMenuModel::Delegate {
91 public: 89 public:
92 explicit BackgroundModeData( 90 explicit BackgroundModeData(
93 int command_id, 91 int command_id,
94 Profile* profile); 92 Profile* profile);
95 virtual ~BackgroundModeData(); 93 virtual ~BackgroundModeData();
96 94
97 // The cached list of BackgroundApplications. 95 // The cached list of BackgroundApplications.
98 scoped_ptr<BackgroundApplicationListModel> applications_; 96 scoped_ptr<BackgroundApplicationListModel> applications_;
99 97
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // app). 304 // app).
307 bool keep_alive_for_test_; 305 bool keep_alive_for_test_;
308 306
309 // Provides a command id for each profile as they are created. 307 // Provides a command id for each profile as they are created.
310 int current_command_id_; 308 int current_command_id_;
311 309
312 DISALLOW_COPY_AND_ASSIGN(BackgroundModeManager); 310 DISALLOW_COPY_AND_ASSIGN(BackgroundModeManager);
313 }; 311 };
314 312
315 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_MODE_MANAGER_H_ 313 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_MODE_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/push_messaging/push_messaging_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698