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

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

Issue 14099010: Move Version to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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_EXTENSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 30 matching lines...) Expand all
41 #include "sync/api/string_ordinal.h" 41 #include "sync/api/string_ordinal.h"
42 #include "sync/api/sync_change.h" 42 #include "sync/api/sync_change.h"
43 #include "sync/api/syncable_service.h" 43 #include "sync/api/syncable_service.h"
44 44
45 class CommandLine; 45 class CommandLine;
46 class ExtensionErrorUI; 46 class ExtensionErrorUI;
47 class ExtensionSyncData; 47 class ExtensionSyncData;
48 class ExtensionToolbarModel; 48 class ExtensionToolbarModel;
49 class GURL; 49 class GURL;
50 class Profile; 50 class Profile;
51 class Version;
52 51
53 namespace base { 52 namespace base {
54 class SequencedTaskRunner; 53 class SequencedTaskRunner;
54 class Version;
55 } 55 }
56 56
57 namespace extensions { 57 namespace extensions {
58 class AppSyncData; 58 class AppSyncData;
59 class BrowserEventRouter; 59 class BrowserEventRouter;
60 class ComponentLoader; 60 class ComponentLoader;
61 class ContentSettingsStore; 61 class ContentSettingsStore;
62 class CrxInstaller; 62 class CrxInstaller;
63 class ExtensionActionStorageManager; 63 class ExtensionActionStorageManager;
64 class ExtensionSyncData; 64 class ExtensionSyncData;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 void ClearProvidersForTesting(); 566 void ClearProvidersForTesting();
567 567
568 // Adds an ExternalProviderInterface for the service to use during testing. 568 // Adds an ExternalProviderInterface for the service to use during testing.
569 // Takes ownership of |test_provider|. 569 // Takes ownership of |test_provider|.
570 void AddProviderForTesting( 570 void AddProviderForTesting(
571 extensions::ExternalProviderInterface* test_provider); 571 extensions::ExternalProviderInterface* test_provider);
572 572
573 // ExternalProvider::Visitor implementation. 573 // ExternalProvider::Visitor implementation.
574 virtual bool OnExternalExtensionFileFound( 574 virtual bool OnExternalExtensionFileFound(
575 const std::string& id, 575 const std::string& id,
576 const Version* version, 576 const base::Version* version,
577 const base::FilePath& path, 577 const base::FilePath& path,
578 extensions::Manifest::Location location, 578 extensions::Manifest::Location location,
579 int creation_flags, 579 int creation_flags,
580 bool mark_acknowledged) OVERRIDE; 580 bool mark_acknowledged) OVERRIDE;
581 581
582 virtual bool OnExternalExtensionUpdateUrlFound( 582 virtual bool OnExternalExtensionUpdateUrlFound(
583 const std::string& id, 583 const std::string& id,
584 const GURL& update_url, 584 const GURL& update_url,
585 extensions::Manifest::Location location) OVERRIDE; 585 extensions::Manifest::Location location) OVERRIDE;
586 586
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 ObserverList<extensions::UpdateObserver, true> update_observers_; 988 ObserverList<extensions::UpdateObserver, true> update_observers_;
989 989
990 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 990 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
991 InstallAppsWithUnlimtedStorage); 991 InstallAppsWithUnlimtedStorage);
992 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 992 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
993 InstallAppsAndCheckStorageProtection); 993 InstallAppsAndCheckStorageProtection);
994 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 994 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
995 }; 995 };
996 996
997 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 997 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/runtime/runtime_api.h ('k') | chrome/browser/extensions/external_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698