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

Side by Side Diff: chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc

Issue 18050009: Use a direct include of time headers in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/time.h" 10 #include "base/time/time.h"
11 #include "chrome/browser/chromeos/memory/oom_priority_manager.h" 11 #include "chrome/browser/chromeos/memory/oom_priority_manager.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 typedef testing::Test OomPriorityManagerTest; 18 typedef testing::Test OomPriorityManagerTest;
19 19
20 namespace { 20 namespace {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 GURL(chrome::kChromeUIDiscardsURL))); 136 GURL(chrome::kChromeUIDiscardsURL)));
137 EXPECT_FALSE(OomPriorityManager::IsReloadableUI( 137 EXPECT_FALSE(OomPriorityManager::IsReloadableUI(
138 GURL(chrome::kChromeUINetInternalsURL))); 138 GURL(chrome::kChromeUINetInternalsURL)));
139 139
140 // Prefix matches are included. 140 // Prefix matches are included.
141 EXPECT_TRUE(OomPriorityManager::IsReloadableUI( 141 EXPECT_TRUE(OomPriorityManager::IsReloadableUI(
142 GURL("chrome://settings/fakeSetting"))); 142 GURL("chrome://settings/fakeSetting")));
143 } 143 }
144 144
145 } // namespace chromeos 145 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/memory/oom_priority_manager.cc ('k') | chrome/browser/chromeos/mobile/mobile_activator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698