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

Side by Side Diff: chrome/common/extensions/command.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 #include "chrome/common/extensions/command.h" 5 #include "chrome/common/extensions/command.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_split.h" 9 #include "base/strings/string_split.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/common/chrome_version_info.h" // TODO(finnur): Remove. 12 #include "chrome/common/chrome_version_info.h" // TODO(finnur): Remove.
13 #include "chrome/common/extensions/extension.h"
14 #include "extensions/common/error_utils.h" 13 #include "extensions/common/error_utils.h"
14 #include "extensions/common/extension.h"
15 #include "extensions/common/feature_switch.h" 15 #include "extensions/common/feature_switch.h"
16 #include "extensions/common/manifest_constants.h" 16 #include "extensions/common/manifest_constants.h"
17 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 namespace errors = manifest_errors; 22 namespace errors = manifest_errors;
23 namespace keys = manifest_keys; 23 namespace keys = manifest_keys;
24 namespace values = manifest_values; 24 namespace values = manifest_values;
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 // dev and will be removed when we launch. 538 // dev and will be removed when we launch.
539 static bool stable_or_beta = 539 static bool stable_or_beta =
540 chrome::VersionInfo::GetChannel() >= chrome::VersionInfo::CHANNEL_BETA; 540 chrome::VersionInfo::GetChannel() >= chrome::VersionInfo::CHANNEL_BETA;
541 extension_data->SetBoolean("scope_ui_visible", !stable_or_beta); 541 extension_data->SetBoolean("scope_ui_visible", !stable_or_beta);
542 } 542 }
543 543
544 return extension_data; 544 return extension_data;
545 } 545 }
546 546
547 } // namespace extensions 547 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | chrome/common/extensions/csp_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698