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

Side by Side Diff: extensions/browser/api/runtime/runtime_api.h

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review, Devlin review. Created 5 years 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
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 EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_H_
6 #define EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_H_ 6 #define EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/scoped_observer.h" 10 #include "base/scoped_observer.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 private: 69 private:
70 friend class BrowserContextKeyedAPIFactory<RuntimeAPI>; 70 friend class BrowserContextKeyedAPIFactory<RuntimeAPI>;
71 71
72 // ExtensionRegistryObserver implementation. 72 // ExtensionRegistryObserver implementation.
73 void OnExtensionLoaded(content::BrowserContext* browser_context, 73 void OnExtensionLoaded(content::BrowserContext* browser_context,
74 const Extension* extension) override; 74 const Extension* extension) override;
75 void OnExtensionWillBeInstalled(content::BrowserContext* browser_context, 75 void OnExtensionWillBeInstalled(content::BrowserContext* browser_context,
76 const Extension* extension, 76 const Extension* extension,
77 bool is_update, 77 bool is_update,
78 bool from_ephemeral,
79 const std::string& old_name) override; 78 const std::string& old_name) override;
80 void OnExtensionUninstalled(content::BrowserContext* browser_context, 79 void OnExtensionUninstalled(content::BrowserContext* browser_context,
81 const Extension* extension, 80 const Extension* extension,
82 UninstallReason reason) override; 81 UninstallReason reason) override;
83 82
84 // BrowserContextKeyedAPI implementation: 83 // BrowserContextKeyedAPI implementation:
85 static const char* service_name() { return "RuntimeAPI"; } 84 static const char* service_name() { return "RuntimeAPI"; }
86 static const bool kServiceRedirectedInIncognito = true; 85 static const bool kServiceRedirectedInIncognito = true;
87 static const bool kServiceIsNULLWhileTesting = true; 86 static const bool kServiceIsNULLWhileTesting = true;
88 void Shutdown() override; 87 void Shutdown() override;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 RUNTIME_GETPACKAGEDIRECTORYENTRY) 228 RUNTIME_GETPACKAGEDIRECTORYENTRY)
230 229
231 protected: 230 protected:
232 ~RuntimeGetPackageDirectoryEntryFunction() override {} 231 ~RuntimeGetPackageDirectoryEntryFunction() override {}
233 ResponseAction Run() override; 232 ResponseAction Run() override;
234 }; 233 };
235 234
236 } // namespace extensions 235 } // namespace extensions
237 236
238 #endif // EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_H_ 237 #endif // EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/management/management_api.cc ('k') | extensions/browser/api/runtime/runtime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698