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

Side by Side Diff: chrome/browser/storage/durable_storage_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 <string> 5 #include <string>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
10 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/browser_commands.h" 13 #include "chrome/browser/ui/browser_commands.h"
13 #include "chrome/browser/ui/tabs/tab_strip_model.h" 14 #include "chrome/browser/ui/tabs/tab_strip_model.h"
14 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
15 #include "chrome/test/base/in_process_browser_test.h" 16 #include "chrome/test/base/in_process_browser_test.h"
16 #include "chrome/test/base/ui_test_utils.h" 17 #include "chrome/test/base/ui_test_utils.h"
17 #include "components/bookmarks/browser/bookmark_model.h" 18 #include "components/bookmarks/browser/bookmark_model.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 EXPECT_TRUE(content::ExecuteScriptAndExtractBool(GetRenderFrameHost(browser), 168 EXPECT_TRUE(content::ExecuteScriptAndExtractBool(GetRenderFrameHost(browser),
168 "requestPermission()", 169 "requestPermission()",
169 &default_box_is_persistent)); 170 &default_box_is_persistent));
170 EXPECT_TRUE(default_box_is_persistent); 171 EXPECT_TRUE(default_box_is_persistent);
171 172
172 std::string permission_string; 173 std::string permission_string;
173 EXPECT_TRUE(content::ExecuteScriptAndExtractString( 174 EXPECT_TRUE(content::ExecuteScriptAndExtractString(
174 GetRenderFrameHost(browser), "checkPermission()", &permission_string)); 175 GetRenderFrameHost(browser), "checkPermission()", &permission_string));
175 EXPECT_EQ("granted", permission_string); 176 EXPECT_EQ("granted", permission_string);
176 } 177 }
OLDNEW
« no previous file with comments | « chrome/browser/status_icons/status_tray.h ('k') | chrome/browser/storage/durable_storage_permission_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698