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

Side by Side Diff: chrome/browser/geolocation/geolocation_permission_context_unittest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "chrome/browser/geolocation/geolocation_permission_context.h" 5 #include "chrome/browser/geolocation/geolocation_permission_context.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 #include <string> 10 #include <string>
9 #include <utility> 11 #include <utility>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/command_line.h" 14 #include "base/command_line.h"
13 #include "base/containers/hash_tables.h" 15 #include "base/containers/hash_tables.h"
14 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
15 #include "base/id_map.h" 17 #include "base/id_map.h"
16 #include "base/memory/scoped_vector.h" 18 #include "base/memory/scoped_vector.h"
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 // it is the embedder. 965 // it is the embedder.
964 EXPECT_EQ(map->GetLastUsage(requesting_frame_0.GetOrigin(), 966 EXPECT_EQ(map->GetLastUsage(requesting_frame_0.GetOrigin(),
965 requesting_frame_0.GetOrigin(), 967 requesting_frame_0.GetOrigin(),
966 CONTENT_SETTINGS_TYPE_GEOLOCATION).ToDoubleT(), 968 CONTENT_SETTINGS_TYPE_GEOLOCATION).ToDoubleT(),
967 13); 969 13);
968 EXPECT_EQ(map->GetLastUsage(requesting_frame_1.GetOrigin(), 970 EXPECT_EQ(map->GetLastUsage(requesting_frame_1.GetOrigin(),
969 requesting_frame_0.GetOrigin(), 971 requesting_frame_0.GetOrigin(),
970 CONTENT_SETTINGS_TYPE_GEOLOCATION).ToDoubleT(), 972 CONTENT_SETTINGS_TYPE_GEOLOCATION).ToDoubleT(),
971 11); 973 11);
972 } 974 }
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/geolocation_permission_context_factory.h ('k') | chrome/browser/global_keyboard_shortcuts_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698