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

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

Issue 1362043005: Add extensions code to use common updater in components/update_client/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merged latest origin/master Created 5 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
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_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
7 7
8 #include "extensions/browser/extension_system.h" 8 #include "extensions/browser/extension_system.h"
9 #include "extensions/common/one_shot_event.h" 9 #include "extensions/common/one_shot_event.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const base::Closure& callback) override; 47 const base::Closure& callback) override;
48 48
49 void UnregisterExtensionWithRequestContexts( 49 void UnregisterExtensionWithRequestContexts(
50 const std::string& extension_id, 50 const std::string& extension_id,
51 const UnloadedExtensionInfo::Reason reason) override; 51 const UnloadedExtensionInfo::Reason reason) override;
52 52
53 const OneShotEvent& ready() const override; 53 const OneShotEvent& ready() const override;
54 ContentVerifier* content_verifier() override; // shared 54 ContentVerifier* content_verifier() override; // shared
55 scoped_ptr<ExtensionSet> GetDependentExtensions( 55 scoped_ptr<ExtensionSet> GetDependentExtensions(
56 const Extension* extension) override; 56 const Extension* extension) override;
57 void InstallUpdate(const std::string& extension_id,
58 const base::FilePath& temp_dir) override;
57 59
58 private: 60 private:
59 friend class ExtensionSystemSharedFactory; 61 friend class ExtensionSystemSharedFactory;
60 62
61 // Owns the Extension-related systems that have a single instance 63 // Owns the Extension-related systems that have a single instance
62 // shared between normal and incognito profiles. 64 // shared between normal and incognito profiles.
63 class Shared : public KeyedService { 65 class Shared : public KeyedService {
64 public: 66 public:
65 explicit Shared(Profile* profile); 67 explicit Shared(Profile* profile);
66 ~Shared() override; 68 ~Shared() override;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 Profile* profile_; 126 Profile* profile_;
125 127
126 Shared* shared_; 128 Shared* shared_;
127 129
128 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); 130 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl);
129 }; 131 };
130 132
131 } // namespace extensions 133 } // namespace extensions
132 134
133 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 135 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/chrome_extensions_browser_client.cc ('k') | chrome/browser/extensions/extension_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698