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

Side by Side Diff: chrome/test/chromedriver/performance_logger_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/test/chromedriver/performance_logger.h" 5 #include "chrome/test/chromedriver/performance_logger.h"
6 6
7 #include <stddef.h>
8
7 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
8 #include "base/format_macros.h" 10 #include "base/format_macros.h"
9 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
10 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
11 #include "base/time/time.h" 13 #include "base/time/time.h"
12 #include "base/values.h" 14 #include "base/values.h"
13 #include "chrome/test/chromedriver/chrome/devtools_client_impl.h" 15 #include "chrome/test/chromedriver/chrome/devtools_client_impl.h"
14 #include "chrome/test/chromedriver/chrome/log.h" 16 #include "chrome/test/chromedriver/chrome/log.h"
15 #include "chrome/test/chromedriver/chrome/status.h" 17 #include "chrome/test/chromedriver/chrome/status.h"
16 #include "chrome/test/chromedriver/chrome/stub_devtools_client.h" 18 #include "chrome/test/chromedriver/chrome/stub_devtools_client.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 std::string webview; 374 std::string webview;
373 EXPECT_TRUE(message->GetString("webview", &webview)); 375 EXPECT_TRUE(message->GetString("webview", &webview));
374 EXPECT_EQ(DevToolsClientImpl::kBrowserwideDevToolsClientId, webview); 376 EXPECT_EQ(DevToolsClientImpl::kBrowserwideDevToolsClientId, webview);
375 std::string method; 377 std::string method;
376 EXPECT_TRUE(message->GetString("message.method", &method)); 378 EXPECT_TRUE(message->GetString("message.method", &method));
377 EXPECT_EQ("Tracing.bufferUsage", method); 379 EXPECT_EQ("Tracing.bufferUsage", method);
378 base::DictionaryValue* actual_params; 380 base::DictionaryValue* actual_params;
379 EXPECT_TRUE(message->GetDictionary("message.params", &actual_params)); 381 EXPECT_TRUE(message->GetDictionary("message.params", &actual_params));
380 EXPECT_TRUE(actual_params->HasKey("error")); 382 EXPECT_TRUE(actual_params->HasKey("error"));
381 } 383 }
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/performance_logger.h ('k') | chrome/test/chromedriver/server/chromedriver_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698