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

Side by Side Diff: chrome/browser/site_details_browsertest.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/site_details.h" 5 #include "chrome/browser/site_details.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <utility> 10 #include <utility>
8 11
9 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
10 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
12 #include "base/path_service.h" 16 #include "base/path_service.h"
13 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
14 #include "base/test/histogram_tester.h" 18 #include "base/test/histogram_tester.h"
15 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/extensions/extension_browsertest.h" 20 #include "chrome/browser/extensions/extension_browsertest.h"
17 #include "chrome/browser/extensions/test_extension_dir.h" 21 #include "chrome/browser/extensions/test_extension_dir.h"
18 #include "chrome/browser/metrics/metrics_memory_details.h" 22 #include "chrome/browser/metrics/metrics_memory_details.h"
19 #include "chrome/browser/ui/browser.h" 23 #include "chrome/browser/ui/browser.h"
20 #include "chrome/browser/ui/tabs/tab_strip_model.h" 24 #include "chrome/browser/ui/tabs/tab_strip_model.h"
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 } else if (extensions::IsIsolateExtensionsEnabled()) { 1197 } else if (extensions::IsIsolateExtensionsEnabled()) {
1194 EXPECT_THAT(details->uma()->GetAllSamples( 1198 EXPECT_THAT(details->uma()->GetAllSamples(
1195 "SiteIsolation.SiteInstancesPerBrowsingInstance"), 1199 "SiteIsolation.SiteInstancesPerBrowsingInstance"),
1196 ElementsAre(Bucket(1, 1), Bucket(3, 1))); 1200 ElementsAre(Bucket(1, 1), Bucket(3, 1)));
1197 } else { 1201 } else {
1198 EXPECT_THAT(details->uma()->GetAllSamples( 1202 EXPECT_THAT(details->uma()->GetAllSamples(
1199 "SiteIsolation.SiteInstancesPerBrowsingInstance"), 1203 "SiteIsolation.SiteInstancesPerBrowsingInstance"),
1200 ElementsAre(Bucket(1, 2))); 1204 ElementsAre(Bucket(1, 2)));
1201 } 1205 }
1202 } 1206 }
OLDNEW
« no previous file with comments | « chrome/browser/site_details.h ('k') | chrome/browser/speech/chrome_speech_recognition_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698