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

Side by Side Diff: chrome/browser/intents/cws_intents_registry_factory.h

Issue 10908088: Cleanup: Constify some ProfileKeyedBaseFactory methods and all overrides. Remove ProfileKeyedBaseFa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, remove a few more lines of code Created 8 years, 3 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_INTENTS_CWS_INTENTS_REGISTRY_FACTORY_H_ 5 #ifndef CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_FACTORY_H_
6 #define CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_FACTORY_H_ 6 #define CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_FACTORY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 16 matching lines...) Expand all
27 27
28 private: 28 private:
29 friend struct DefaultSingletonTraits<CWSIntentsRegistryFactory>; 29 friend struct DefaultSingletonTraits<CWSIntentsRegistryFactory>;
30 30
31 CWSIntentsRegistryFactory(); 31 CWSIntentsRegistryFactory();
32 virtual ~CWSIntentsRegistryFactory(); 32 virtual ~CWSIntentsRegistryFactory();
33 33
34 // ProfileKeyedServiceFactory implementation. 34 // ProfileKeyedServiceFactory implementation.
35 virtual ProfileKeyedService* BuildServiceInstanceFor( 35 virtual ProfileKeyedService* BuildServiceInstanceFor(
36 Profile* profile) const OVERRIDE; 36 Profile* profile) const OVERRIDE;
37 virtual bool ServiceRedirectedInIncognito() OVERRIDE; 37 virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
38 38
39 DISALLOW_COPY_AND_ASSIGN(CWSIntentsRegistryFactory); 39 DISALLOW_COPY_AND_ASSIGN(CWSIntentsRegistryFactory);
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_FACTORY_H_ 42 #endif // CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/shortcuts_backend_factory.cc ('k') | chrome/browser/intents/cws_intents_registry_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698