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

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

Issue 8085026: Add a metric to Chrome to measure fragmentation of chrome.dll at startup.BUG=98033TEST=None (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/fragmentation_checker_win.h"
grt (UTC plus 2) 2011/10/01 02:49:46 shouldn't this be in-order with the other headers?
robertshield 2011/10/01 05:00:41 Done.
6
7 #include "base/path_service.h"
8 #include "testing/gtest/include/gtest/gtest.h"
9
10 TEST(FragmentationChecker, BasicCheck) {
11 FilePath module_path;
12 ASSERT_TRUE(PathService::Get(base::FILE_MODULE, &module_path));
13 uint32 extent_count = 0;
14 fragmentation_checker::CountFileExtents(module_path, &extent_count);
15 EXPECT_GT(extent_count, 0u);
16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698