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

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

Issue 8539010: Cleanup: Remove unneeded forward declarations from chrome/browser/extensions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove the speech file that ran away, I will get it later Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 #include "chrome/browser/extensions/external_extension_provider_interface.h" 11 #include "chrome/browser/extensions/external_extension_provider_interface.h"
10 12
11 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
12 #include "chrome/browser/extensions/external_extension_loader.h" 14 #include "chrome/browser/extensions/external_extension_loader.h"
13 15
14 class ExternalExtensionLoader; 16 class ExternalExtensionLoader;
15 class Profile; 17 class Profile;
16 class Version; 18 class Version;
17 19
18 namespace base { 20 namespace base {
19 class DictionaryValue; 21 class DictionaryValue;
20 class ValueSerializer;
21 } 22 }
22 23
23 // A specialization of the ExternalExtensionProvider that uses an instance 24 // A specialization of the ExternalExtensionProvider that uses an instance
24 // of ExternalExtensionLoader to provide external extensions. This class 25 // of ExternalExtensionLoader to provide external extensions. This class
25 // can be seen as a bridge between the extension system and an 26 // can be seen as a bridge between the extension system and an
26 // ExternalExtensionLoader. Instances live their entire life on the UI thread. 27 // ExternalExtensionLoader. Instances live their entire life on the UI thread.
27 class ExternalExtensionProviderImpl 28 class ExternalExtensionProviderImpl
28 : public ExternalExtensionProviderInterface { 29 : public ExternalExtensionProviderInterface {
29 public: 30 public:
30 // The constructed provider will provide the extensions loaded from |loader| 31 // The constructed provider will provide the extensions loaded from |loader|
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 scoped_refptr<ExternalExtensionLoader> loader_; 96 scoped_refptr<ExternalExtensionLoader> loader_;
96 97
97 // Creation flags to use for the extension. These flags will be used 98 // Creation flags to use for the extension. These flags will be used
98 // when calling Extenion::Create() by the crx installer. 99 // when calling Extenion::Create() by the crx installer.
99 int creation_flags_; 100 int creation_flags_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(ExternalExtensionProviderImpl); 102 DISALLOW_COPY_AND_ASSIGN(ExternalExtensionProviderImpl);
102 }; 103 };
103 104
104 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_ 105 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_webrequest_api.h ('k') | chrome/browser/extensions/external_policy_extension_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698