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

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

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_ASSETS_MANAGER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ASSETS_MANAGER_CHROMEOS_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ASSETS_MANAGER_CHROMEOS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ASSETS_MANAGER_CHROMEOS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "chrome/browser/extensions/extension_assets_manager.h" 10 #include "chrome/browser/extensions/extension_assets_manager.h"
(...skipping 24 matching lines...) Expand all
35 static const char kSharedExtensionUsers[]; 35 static const char kSharedExtensionUsers[];
36 36
37 // Register shared assets related preferences. 37 // Register shared assets related preferences.
38 static void RegisterPrefs(PrefRegistrySimple* registry); 38 static void RegisterPrefs(PrefRegistrySimple* registry);
39 39
40 // Override from ExtensionAssetsManager. 40 // Override from ExtensionAssetsManager.
41 virtual void InstallExtension(const Extension* extension, 41 virtual void InstallExtension(const Extension* extension,
42 const base::FilePath& unpacked_extension_root, 42 const base::FilePath& unpacked_extension_root,
43 const base::FilePath& local_install_dir, 43 const base::FilePath& local_install_dir,
44 Profile* profile, 44 Profile* profile,
45 InstallExtensionCallback callback) OVERRIDE; 45 InstallExtensionCallback callback) override;
46 virtual void UninstallExtension( 46 virtual void UninstallExtension(
47 const std::string& id, 47 const std::string& id,
48 Profile* profile, 48 Profile* profile,
49 const base::FilePath& local_install_dir, 49 const base::FilePath& local_install_dir,
50 const base::FilePath& extension_root) OVERRIDE; 50 const base::FilePath& extension_root) override;
51 51
52 // Return shared install dir. 52 // Return shared install dir.
53 static base::FilePath GetSharedInstallDir(); 53 static base::FilePath GetSharedInstallDir();
54 54
55 // Return true if |extension| was installed to shared location. 55 // Return true if |extension| was installed to shared location.
56 static bool IsSharedInstall(const Extension* extension); 56 static bool IsSharedInstall(const Extension* extension);
57 57
58 // Cleans up shared extensions list in preferences and returns list of 58 // Cleans up shared extensions list in preferences and returns list of
59 // extension IDs and version paths that are in use in |live_extension_paths|. 59 // extension IDs and version paths that are in use in |live_extension_paths|.
60 // Files on disk are not removed. Must be called on UI thread. 60 // Files on disk are not removed. Must be called on UI thread.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const std::string& id, 122 const std::string& id,
123 base::DictionaryValue* extension_info, 123 base::DictionaryValue* extension_info,
124 std::multimap<std::string, base::FilePath>* live_extension_paths); 124 std::multimap<std::string, base::FilePath>* live_extension_paths);
125 125
126 DISALLOW_COPY_AND_ASSIGN(ExtensionAssetsManagerChromeOS); 126 DISALLOW_COPY_AND_ASSIGN(ExtensionAssetsManagerChromeOS);
127 }; 127 };
128 128
129 } // namespace extensions 129 } // namespace extensions
130 130
131 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ASSETS_MANAGER_CHROMEOS_H_ 131 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ASSETS_MANAGER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_assets_manager.cc ('k') | chrome/browser/extensions/extension_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698