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

Side by Side Diff: extensions/shell/common/shell_extensions_client.cc

Issue 2714393004: grit: qualify includes for shell_resources.h, virtual_driver_setup_resources.h, bluetooth_strings.h (Closed)
Patch Set: . Created 3 years, 9 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
« no previous file with comments | « extensions/shell/common/DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "extensions/shell/common/shell_extensions_client.h" 5 #include "extensions/shell/common/shell_extensions_client.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "extensions/common/api/generated_schemas.h" 13 #include "extensions/common/api/generated_schemas.h"
14 #include "extensions/common/common_manifest_handlers.h" 14 #include "extensions/common/common_manifest_handlers.h"
15 #include "extensions/common/extension_urls.h" 15 #include "extensions/common/extension_urls.h"
16 #include "extensions/common/extensions_aliases.h" 16 #include "extensions/common/extensions_aliases.h"
17 #include "extensions/common/features/json_feature_provider_source.h" 17 #include "extensions/common/features/json_feature_provider_source.h"
18 #include "extensions/common/features/simple_feature.h" 18 #include "extensions/common/features/simple_feature.h"
19 #include "extensions/common/manifest_handler.h" 19 #include "extensions/common/manifest_handler.h"
20 #include "extensions/common/permissions/permission_message_provider.h" 20 #include "extensions/common/permissions/permission_message_provider.h"
21 #include "extensions/common/permissions/permissions_info.h" 21 #include "extensions/common/permissions/permissions_info.h"
22 #include "extensions/common/permissions/permissions_provider.h" 22 #include "extensions/common/permissions/permissions_provider.h"
23 #include "extensions/common/url_pattern_set.h" 23 #include "extensions/common/url_pattern_set.h"
24 #include "extensions/grit/extensions_resources.h" 24 #include "extensions/grit/extensions_resources.h"
25 #include "extensions/shell/common/api/generated_schemas.h" 25 #include "extensions/shell/common/api/generated_schemas.h"
26 #include "extensions/shell/common/api/shell_api_features.h" 26 #include "extensions/shell/common/api/shell_api_features.h"
27 #include "extensions/shell/common/api/shell_behavior_features.h" 27 #include "extensions/shell/common/api/shell_behavior_features.h"
28 #include "extensions/shell/common/api/shell_manifest_features.h" 28 #include "extensions/shell/common/api/shell_manifest_features.h"
29 #include "extensions/shell/common/api/shell_permission_features.h" 29 #include "extensions/shell/common/api/shell_permission_features.h"
30 #include "grit/app_shell_resources.h" 30 #include "extensions/shell/grit/app_shell_resources.h"
31 31
32 namespace extensions { 32 namespace extensions {
33 33
34 namespace { 34 namespace {
35 35
36 // TODO(jamescook): Refactor ChromePermissionsMessageProvider so we can share 36 // TODO(jamescook): Refactor ChromePermissionsMessageProvider so we can share
37 // code. For now, this implementation does nothing. 37 // code. For now, this implementation does nothing.
38 class ShellPermissionMessageProvider : public PermissionMessageProvider { 38 class ShellPermissionMessageProvider : public PermissionMessageProvider {
39 public: 39 public:
40 ShellPermissionMessageProvider() {} 40 ShellPermissionMessageProvider() {}
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 return webstore_update_url_; 184 return webstore_update_url_;
185 } 185 }
186 186
187 bool ShellExtensionsClient::IsBlacklistUpdateURL(const GURL& url) const { 187 bool ShellExtensionsClient::IsBlacklistUpdateURL(const GURL& url) const {
188 // TODO(rockot): Maybe we want to do something else here. For now we accept 188 // TODO(rockot): Maybe we want to do something else here. For now we accept
189 // any URL as a blacklist URL because we don't really care. 189 // any URL as a blacklist URL because we don't really care.
190 return true; 190 return true;
191 } 191 }
192 192
193 } // namespace extensions 193 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/common/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698