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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/service_factory.h

Issue 1138423002: Enable file_system_provider::Service in incognito. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_system_provider/service_factory.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 23 matching lines...) Expand all
34 private: 34 private:
35 friend struct DefaultSingletonTraits<ServiceFactory>; 35 friend struct DefaultSingletonTraits<ServiceFactory>;
36 36
37 ServiceFactory(); 37 ServiceFactory();
38 ~ServiceFactory() override; 38 ~ServiceFactory() override;
39 39
40 // BrowserContextKeyedServiceFactory overrides: 40 // BrowserContextKeyedServiceFactory overrides:
41 KeyedService* BuildServiceInstanceFor( 41 KeyedService* BuildServiceInstanceFor(
42 content::BrowserContext* profile) const override; 42 content::BrowserContext* profile) const override;
43 bool ServiceIsCreatedWithBrowserContext() const override; 43 bool ServiceIsCreatedWithBrowserContext() const override;
44 content::BrowserContext* GetBrowserContextToUse(
45 content::BrowserContext* context) const override;
44 46
45 DISALLOW_COPY_AND_ASSIGN(ServiceFactory); 47 DISALLOW_COPY_AND_ASSIGN(ServiceFactory);
46 }; 48 };
47 49
48 } // namespace file_system_provider 50 } // namespace file_system_provider
49 } // namespace chromeos 51 } // namespace chromeos
50 52
51 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ 53 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_system_provider/service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698