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

Side by Side Diff: chrome/browser/extensions/test_extension_service.h

Issue 226023003: Create CrxInstaller directly in WebstoreInstaller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android compilation fix (again). Created 6 years, 8 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
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_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 // ExtensionServiceInterface implementation. 25 // ExtensionServiceInterface implementation.
26 virtual const extensions::ExtensionSet* extensions() const OVERRIDE; 26 virtual const extensions::ExtensionSet* extensions() const OVERRIDE;
27 virtual extensions::PendingExtensionManager* 27 virtual extensions::PendingExtensionManager*
28 pending_extension_manager() OVERRIDE; 28 pending_extension_manager() OVERRIDE;
29 29
30 virtual bool UpdateExtension( 30 virtual bool UpdateExtension(
31 const std::string& id, 31 const std::string& id,
32 const base::FilePath& path, 32 const base::FilePath& path,
33 bool file_ownership_passed, 33 bool file_ownership_passed,
34 const GURL& download_url,
35 extensions::CrxInstaller** out_crx_installer) OVERRIDE; 34 extensions::CrxInstaller** out_crx_installer) OVERRIDE;
36 virtual const extensions::Extension* GetExtensionById( 35 virtual const extensions::Extension* GetExtensionById(
37 const std::string& id, bool include_disabled) const OVERRIDE; 36 const std::string& id, bool include_disabled) const OVERRIDE;
38 virtual const extensions::Extension* GetInstalledExtension( 37 virtual const extensions::Extension* GetInstalledExtension(
39 const std::string& id) const OVERRIDE; 38 const std::string& id) const OVERRIDE;
40 virtual const extensions::Extension* GetPendingExtensionUpdate( 39 virtual const extensions::Extension* GetPendingExtensionUpdate(
41 const std::string& extension_id) const OVERRIDE; 40 const std::string& extension_id) const OVERRIDE;
42 virtual void FinishDelayedInstallation( 41 virtual void FinishDelayedInstallation(
43 const std::string& extension_id) OVERRIDE; 42 const std::string& extension_id) OVERRIDE;
44 virtual bool IsExtensionEnabled( 43 virtual bool IsExtensionEnabled(
(...skipping 11 matching lines...) Expand all
56 const extensions::Extension* extension) OVERRIDE; 55 const extensions::Extension* extension) OVERRIDE;
57 56
58 virtual void UnloadExtension( 57 virtual void UnloadExtension(
59 const std::string& extension_id, 58 const std::string& extension_id,
60 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; 59 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE;
61 virtual void RemoveComponentExtension(const std::string & extension_id) 60 virtual void RemoveComponentExtension(const std::string & extension_id)
62 OVERRIDE; 61 OVERRIDE;
63 }; 62 };
64 63
65 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 64 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/test_extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698