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

Side by Side Diff: chrome/common/extensions/permissions/permission_set_unittest.cc

Issue 232183002: Chromium side changes to add the ledger API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 7 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
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/json/json_file_value_serializer.h" 6 #include "base/json/json_file_value_serializer.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 skip.insert(APIPermission::kCastStreaming); 648 skip.insert(APIPermission::kCastStreaming);
649 skip.insert(APIPermission::kContextMenus); 649 skip.insert(APIPermission::kContextMenus);
650 skip.insert(APIPermission::kDiagnostics); 650 skip.insert(APIPermission::kDiagnostics);
651 skip.insert(APIPermission::kDns); 651 skip.insert(APIPermission::kDns);
652 skip.insert(APIPermission::kDownloadsShelf); 652 skip.insert(APIPermission::kDownloadsShelf);
653 skip.insert(APIPermission::kFontSettings); 653 skip.insert(APIPermission::kFontSettings);
654 skip.insert(APIPermission::kFullscreen); 654 skip.insert(APIPermission::kFullscreen);
655 skip.insert(APIPermission::kGcm); 655 skip.insert(APIPermission::kGcm);
656 skip.insert(APIPermission::kIdle); 656 skip.insert(APIPermission::kIdle);
657 skip.insert(APIPermission::kIdltest); 657 skip.insert(APIPermission::kIdltest);
658 skip.insert(APIPermission::kLedger);
658 skip.insert(APIPermission::kLogPrivate); 659 skip.insert(APIPermission::kLogPrivate);
659 skip.insert(APIPermission::kNotification); 660 skip.insert(APIPermission::kNotification);
660 skip.insert(APIPermission::kOverrideEscFullscreen); 661 skip.insert(APIPermission::kOverrideEscFullscreen);
661 skip.insert(APIPermission::kPointerLock); 662 skip.insert(APIPermission::kPointerLock);
662 skip.insert(APIPermission::kPower); 663 skip.insert(APIPermission::kPower);
663 skip.insert(APIPermission::kPushMessaging); 664 skip.insert(APIPermission::kPushMessaging);
664 skip.insert(APIPermission::kSessions); 665 skip.insert(APIPermission::kSessions);
665 skip.insert(APIPermission::kStorage); 666 skip.insert(APIPermission::kStorage);
666 skip.insert(APIPermission::kSystemCpu); 667 skip.insert(APIPermission::kSystemCpu);
667 skip.insert(APIPermission::kSystemDisplay); 668 skip.insert(APIPermission::kSystemDisplay);
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 scoped_refptr<const PermissionSet> permissions_dwr( 1567 scoped_refptr<const PermissionSet> permissions_dwr(
1567 extension_dwr->GetActivePermissions()); 1568 extension_dwr->GetActivePermissions());
1568 1569
1569 EXPECT_FALSE(PermissionMessageProvider::Get()-> 1570 EXPECT_FALSE(PermissionMessageProvider::Get()->
1570 IsPrivilegeIncrease(permissions.get(), 1571 IsPrivilegeIncrease(permissions.get(),
1571 permissions_dwr.get(), 1572 permissions_dwr.get(),
1572 extension->GetType())); 1573 extension->GetType()));
1573 } 1574 }
1574 1575
1575 } // namespace extensions 1576 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698