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

Side by Side Diff: extensions/browser/process_manager.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « extensions/browser/null_app_sorting.h ('k') | extensions/browser/process_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 EXTENSIONS_BROWSER_PROCESS_MANAGER_H_ 5 #ifndef EXTENSIONS_BROWSER_PROCESS_MANAGER_H_
6 #define EXTENSIONS_BROWSER_PROCESS_MANAGER_H_ 6 #define EXTENSIONS_BROWSER_PROCESS_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // If |context| is incognito pass the master context as |original_context|. 179 // If |context| is incognito pass the master context as |original_context|.
180 // Otherwise pass the same context for both. Pass the ExtensionRegistry for 180 // Otherwise pass the same context for both. Pass the ExtensionRegistry for
181 // |context| as |registry|, or override it for testing. 181 // |context| as |registry|, or override it for testing.
182 ProcessManager(content::BrowserContext* context, 182 ProcessManager(content::BrowserContext* context,
183 content::BrowserContext* original_context, 183 content::BrowserContext* original_context,
184 ExtensionRegistry* registry); 184 ExtensionRegistry* registry);
185 185
186 // content::NotificationObserver: 186 // content::NotificationObserver:
187 virtual void Observe(int type, 187 virtual void Observe(int type,
188 const content::NotificationSource& source, 188 const content::NotificationSource& source,
189 const content::NotificationDetails& details) OVERRIDE; 189 const content::NotificationDetails& details) override;
190 190
191 content::NotificationRegistrar registrar_; 191 content::NotificationRegistrar registrar_;
192 192
193 // The set of ExtensionHosts running viewless background extensions. 193 // The set of ExtensionHosts running viewless background extensions.
194 ExtensionHostSet background_hosts_; 194 ExtensionHostSet background_hosts_;
195 195
196 // A SiteInstance related to the SiteInstance for all extensions in 196 // A SiteInstance related to the SiteInstance for all extensions in
197 // this profile. We create it in such a way that a new 197 // this profile. We create it in such a way that a new
198 // browsing instance is created. This controls process grouping. 198 // browsing instance is created. This controls process grouping.
199 scoped_refptr<content::SiteInstance> site_instance_; 199 scoped_refptr<content::SiteInstance> site_instance_;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 // Must be last member, see doc on WeakPtrFactory. 286 // Must be last member, see doc on WeakPtrFactory.
287 base::WeakPtrFactory<ProcessManager> weak_ptr_factory_; 287 base::WeakPtrFactory<ProcessManager> weak_ptr_factory_;
288 288
289 DISALLOW_COPY_AND_ASSIGN(ProcessManager); 289 DISALLOW_COPY_AND_ASSIGN(ProcessManager);
290 }; 290 };
291 291
292 } // namespace extensions 292 } // namespace extensions
293 293
294 #endif // EXTENSIONS_BROWSER_PROCESS_MANAGER_H_ 294 #endif // EXTENSIONS_BROWSER_PROCESS_MANAGER_H_
OLDNEW
« no previous file with comments | « extensions/browser/null_app_sorting.h ('k') | extensions/browser/process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698