basictypes.h => macros.h
This commit is contained in:
parent
93c7126bc7
commit
da59c0f58b
9 changed files with 12 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
|||
#ifndef BRIGHTRAY_BROWSER_DEVTOOLS_CONTENTS_RESIZING_STRATEGY_H_
|
||||
#define BRIGHTRAY_BROWSER_DEVTOOLS_CONTENTS_RESIZING_STRATEGY_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/macros.h"
|
||||
#include "ui/gfx/geometry/insets.h"
|
||||
#include "ui/gfx/geometry/rect.h"
|
||||
#include "ui/gfx/geometry/size.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
#define BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/macros.h"
|
||||
#include "base/compiler_specific.h"
|
||||
#include "components/devtools_http_handler/devtools_http_handler_delegate.h"
|
||||
#include "content/public/browser/devtools_manager_delegate.h"
|
||||
|
|
|
@ -592,9 +592,9 @@ void InspectableWebContentsImpl::WebContentsDestroyed() {
|
|||
|
||||
bool InspectableWebContentsImpl::AddMessageToConsole(
|
||||
content::WebContents* source,
|
||||
int32 level,
|
||||
int32_t level,
|
||||
const base::string16& message,
|
||||
int32 line_no,
|
||||
int32_t line_no,
|
||||
const base::string16& source_id) {
|
||||
logging::LogMessage("CONSOLE", line_no, level).stream() << "\"" <<
|
||||
message << "\", source: " << source_id << " (" << line_no << ")";
|
||||
|
|
|
@ -134,9 +134,9 @@ class InspectableWebContentsImpl :
|
|||
|
||||
// content::WebContentsDelegate:
|
||||
bool AddMessageToConsole(content::WebContents* source,
|
||||
int32 level,
|
||||
int32_t level,
|
||||
const base::string16& message,
|
||||
int32 line_no,
|
||||
int32_t line_no,
|
||||
const base::string16& source_id) override;
|
||||
bool ShouldCreateWebContents(
|
||||
content::WebContents* web_contents,
|
||||
|
|
|
@ -207,7 +207,7 @@ void DevToolsNetworkInterceptor::ArmTimer(base::TimeTicks now) {
|
|||
base::TimeTicks desired_time =
|
||||
offset_ + tick_length_ * (last_tick_ + min_ticks_left);
|
||||
|
||||
int64_t min_baseline = std::numeric_limits<int64>::max();
|
||||
int64_t min_baseline = std::numeric_limits<int64_t>::max();
|
||||
for (size_t i = 0; i < suspend_count; ++i) {
|
||||
if (suspended_transactions_[i].second < min_baseline)
|
||||
min_baseline = suspended_transactions_[i].second;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef BRIGHTRAY_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_
|
||||
#define BRIGHTRAY_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/macros.h"
|
||||
#include "content/public/browser/web_ui.h"
|
||||
#include "content/public/browser/web_ui_controller_factory.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <hstring.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/macros.h"
|
||||
|
||||
class ScopedHString {
|
||||
public:
|
||||
|
|
|
@ -330,7 +330,7 @@ bool WindowsToastNotification::GetTextNodeList(
|
|||
ScopedHString* tag,
|
||||
IXmlDocument* doc,
|
||||
IXmlNodeList** node_list,
|
||||
UINT32 req_length) {
|
||||
Uint32_t req_length) {
|
||||
tag->Reset(L"text");
|
||||
if (!tag->success())
|
||||
return false;
|
||||
|
@ -338,7 +338,7 @@ bool WindowsToastNotification::GetTextNodeList(
|
|||
if (FAILED(doc->GetElementsByTagName(*tag, node_list)))
|
||||
return false;
|
||||
|
||||
UINT32 node_length;
|
||||
Uint32_t node_length;
|
||||
if (FAILED((*node_list)->get_Length(&node_length)))
|
||||
return false;
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ class WindowsToastNotification : public Notification {
|
|||
bool GetTextNodeList(ScopedHString* tag,
|
||||
ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||
ABI::Windows::Data::Xml::Dom::IXmlNodeList** nodeList,
|
||||
UINT32 reqLength);
|
||||
Uint32_t reqLength);
|
||||
bool AppendTextToXml(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||
ABI::Windows::Data::Xml::Dom::IXmlNode* node,
|
||||
const std::wstring& text);
|
||||
|
|
Loading…
Reference in a new issue