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

Side by Side Diff: extensions/common/features/feature_util.h

Issue 2141703003: [Extensions] Clean up renderer channel-related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_feature_no_filter
Patch Set: Created 4 years, 5 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/common/extension_messages.h ('k') | extensions/extensions.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 EXTENSIONS_COMMON_FEATURES_FEATURE_UTIL_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURES_FEATURE_UTIL_H_
6 #define EXTENSIONS_COMMON_FEATURES_FEATURE_UTIL_H_ 6 #define EXTENSIONS_COMMON_FEATURES_FEATURE_UTIL_H_
7 7
8 #include "base/debug/alias.h" 8 #include "base/debug/alias.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 10 matching lines...) Expand all
21 #define CRASH_WITH_MINIDUMP(message) \ 21 #define CRASH_WITH_MINIDUMP(message) \
22 { \ 22 { \
23 std::string message_copy(message); \ 23 std::string message_copy(message); \
24 char minidump[BUFSIZ]; \ 24 char minidump[BUFSIZ]; \
25 base::debug::Alias(&minidump); \ 25 base::debug::Alias(&minidump); \
26 base::snprintf(minidump, arraysize(minidump), "e::%s:%d:\"%s\"", __FILE__, \ 26 base::snprintf(minidump, arraysize(minidump), "e::%s:%d:\"%s\"", __FILE__, \
27 __LINE__, message_copy.c_str()); \ 27 __LINE__, message_copy.c_str()); \
28 LOG(FATAL) << message_copy; \ 28 LOG(FATAL) << message_copy; \
29 } 29 }
30 30
31 namespace extensions {
32 namespace feature_util {
33
34 // Returns true if service workers are enabled for extension schemes.
35 // TODO(lazyboy): Remove this function once extension Service Workers
36 // are enabled by default for a while.
37 bool ExtensionServiceWorkersEnabled();
lazyboy 2016/07/11 23:53:16 I can't find where this is defined anymore, some p
Devlin 2016/07/14 17:32:11 Whoops, missed the file originally. Added.
38
39 } // namespace feature_util
40 } // namespace extensions
41
31 #endif // EXTENSIONS_COMMON_FEATURES_FEATURE_UTIL_H_ 42 #endif // EXTENSIONS_COMMON_FEATURES_FEATURE_UTIL_H_
OLDNEW
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698