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

Side by Side Diff: chrome/common/extensions/api/storage/storage_schema_manifest_handler.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 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 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h " 5 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h "
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "chrome/common/extensions/extension.h" 16 #include "extensions/common/extension.h"
17 #include "extensions/common/install_warning.h" 17 #include "extensions/common/install_warning.h"
18 #include "extensions/common/manifest.h" 18 #include "extensions/common/manifest.h"
19 #include "extensions/common/manifest_constants.h" 19 #include "extensions/common/manifest_constants.h"
20 #include "extensions/common/permissions/api_permission.h" 20 #include "extensions/common/permissions/api_permission.h"
21 21
22 #if defined(ENABLE_CONFIGURATION_POLICY) 22 #if defined(ENABLE_CONFIGURATION_POLICY)
23 #include "components/policy/core/common/schema.h" 23 #include "components/policy/core/common/schema.h"
24 #endif 24 #endif
25 25
26 using extensions::manifest_keys::kStorageManagedSchema; 26 using extensions::manifest_keys::kStorageManagedSchema;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 #else 84 #else
85 return true; 85 return true;
86 #endif 86 #endif
87 } 87 }
88 88
89 const std::vector<std::string> StorageSchemaManifestHandler::Keys() const { 89 const std::vector<std::string> StorageSchemaManifestHandler::Keys() const {
90 return SingleKey(kStorageManagedSchema); 90 return SingleKey(kStorageManagedSchema);
91 } 91 }
92 92
93 } // namespace extensions 93 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698