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

Side by Side Diff: chrome/browser/extensions/extension_function_registry.cc

Issue 126163003: Rename setUninstallUrl to setUninstallURL throughout codebase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 #include "chrome/browser/extensions/extension_function_registry.h" 5 #include "chrome/browser/extensions/extension_function_registry.h"
6 6
7 #include "chrome/browser/extensions/api/preference/chrome_direct_setting.h" 7 #include "chrome/browser/extensions/api/preference/chrome_direct_setting.h"
8 #include "chrome/browser/extensions/api/preference/preference_api.h" 8 #include "chrome/browser/extensions/api/preference/preference_api.h"
9 #include "chrome/browser/extensions/api/runtime/runtime_api.h" 9 #include "chrome/browser/extensions/api/runtime/runtime_api.h"
10 #include "chrome/browser/extensions/api/web_request/web_request_api.h" 10 #include "chrome/browser/extensions/api/web_request/web_request_api.h"
(...skipping 26 matching lines...) Expand all
37 RegisterFunction<extensions::ClearPreferenceFunction>(); 37 RegisterFunction<extensions::ClearPreferenceFunction>();
38 38
39 // Direct Preference Access for Component Extensions. 39 // Direct Preference Access for Component Extensions.
40 RegisterFunction<extensions::chromedirectsetting::GetDirectSettingFunction>(); 40 RegisterFunction<extensions::chromedirectsetting::GetDirectSettingFunction>();
41 RegisterFunction<extensions::chromedirectsetting::SetDirectSettingFunction>(); 41 RegisterFunction<extensions::chromedirectsetting::SetDirectSettingFunction>();
42 RegisterFunction< 42 RegisterFunction<
43 extensions::chromedirectsetting::ClearDirectSettingFunction>(); 43 extensions::chromedirectsetting::ClearDirectSettingFunction>();
44 44
45 // Runtime 45 // Runtime
46 RegisterFunction<extensions::RuntimeGetBackgroundPageFunction>(); 46 RegisterFunction<extensions::RuntimeGetBackgroundPageFunction>();
47 RegisterFunction<extensions::RuntimeSetUninstallUrlFunction>(); 47 RegisterFunction<extensions::RuntimeSetUninstallURLFunction>();
48 RegisterFunction<extensions::RuntimeReloadFunction>(); 48 RegisterFunction<extensions::RuntimeReloadFunction>();
49 RegisterFunction<extensions::RuntimeRequestUpdateCheckFunction>(); 49 RegisterFunction<extensions::RuntimeRequestUpdateCheckFunction>();
50 RegisterFunction<extensions::RuntimeRestartFunction>(); 50 RegisterFunction<extensions::RuntimeRestartFunction>();
51 51
52 // Generated APIs 52 // Generated APIs
53 extensions::api::GeneratedFunctionRegistry::RegisterAll(this); 53 extensions::api::GeneratedFunctionRegistry::RegisterAll(this);
54 #endif // defined(ENABLE_EXTENSIONS) 54 #endif // defined(ENABLE_EXTENSIONS)
55 } 55 }
56 56
57 void ExtensionFunctionRegistry::GetAllNames(std::vector<std::string>* names) { 57 void ExtensionFunctionRegistry::GetAllNames(std::vector<std::string>* names) {
(...skipping 29 matching lines...) Expand all
87 87
88 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry() 88 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry()
89 : factory_(0), histogram_value_(extensions::functions::UNKNOWN) { 89 : factory_(0), histogram_value_(extensions::functions::UNKNOWN) {
90 } 90 }
91 91
92 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry( 92 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry(
93 ExtensionFunctionFactory factory, 93 ExtensionFunctionFactory factory,
94 extensions::functions::HistogramValue histogram_value) 94 extensions::functions::HistogramValue histogram_value)
95 : factory_(factory), histogram_value_(histogram_value) { 95 : factory_(factory), histogram_value_(histogram_value) {
96 } 96 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/runtime/runtime_apitest.cc ('k') | chrome/common/extensions/api/_api_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698