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

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

Issue 884903003: [Extensions] Clean up some Permission[sData|Set] includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | extensions/common/permissions/permission_set.h » ('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 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/strings/string_split.h" 7 #include "base/strings/string_split.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/test/values_test_util.h" 10 #include "base/test/values_test_util.h"
11 #include "chrome/browser/extensions/test_extension_environment.h" 11 #include "chrome/browser/extensions/test_extension_environment.h"
12 #include "chrome/common/extensions/permissions/chrome_permission_message_provide r.h" 12 #include "chrome/common/extensions/permissions/chrome_permission_message_provide r.h"
13 #include "extensions/common/extension.h"
13 #include "extensions/common/permissions/permissions_data.h" 14 #include "extensions/common/permissions/permissions_data.h"
14 #include "extensions/common/switches.h" 15 #include "extensions/common/switches.h"
15 #include "testing/gmock/include/gmock/gmock-matchers.h" 16 #include "testing/gmock/include/gmock/gmock-matchers.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 using testing::Contains; 19 using testing::Contains;
19 using testing::Eq; 20 using testing::Eq;
20 21
21 namespace extensions { 22 namespace extensions {
22 23
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 // TODO(sashab): Add a test that ensures that all permissions that can generate 1270 // TODO(sashab): Add a test that ensures that all permissions that can generate
1270 // a coalesced message can also generate a message on their own (i.e. ensure 1271 // a coalesced message can also generate a message on their own (i.e. ensure
1271 // that no permissions only modify other permissions). 1272 // that no permissions only modify other permissions).
1272 1273
1273 // TODO(sashab): Add a test for every permission message combination that can 1274 // TODO(sashab): Add a test for every permission message combination that can
1274 // generate a message. 1275 // generate a message.
1275 1276
1276 // TODO(aboxhall): Add tests for the automation API permission messages. 1277 // TODO(aboxhall): Add tests for the automation API permission messages.
1277 1278
1278 } // namespace extensions 1279 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | extensions/common/permissions/permission_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698