Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from chromium:main #113

Merged
merged 77 commits into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
7924c18
Implement CT policy changes
carlosjoan91 Dec 14, 2021
c3656b5
[serial] Running error callback for SDP query.
cmumford Dec 14, 2021
b24b188
[Code Health] Modernize Value API in extension_messages_apitest.cc
chikamune-cr Dec 14, 2021
acefb24
[Code Health] Modernize Value API in debugger_api.h
chikamune-cr Dec 14, 2021
c2f0af4
[bluetooth] Add BluetoothUUID operator<<.
cmumford Dec 14, 2021
bf952bf
[fuchsia][a11y] Implements Semantic Provider library.
lucasradaelli Dec 14, 2021
6e68922
Roll ANGLE from fefd7ae66ad9 to 36fcf80b1f2a (5 revisions)
Dec 14, 2021
207210e
[GMNext] Make primary inverse text colors dynamic
fsinan Dec 14, 2021
d16a7c9
Shimless: Check rsu code length in observer
Dec 14, 2021
685d35f
ui: announce omnibox chips for location & camera/mic
Dec 14, 2021
80e2ab3
ash: Move bubble constants into //ash/bubble/bubble_constants.h
Dec 15, 2021
86f5794
[realbox] Added chrome://flags entry for realbox match omnibox theme
Dec 15, 2021
ed52e09
Refactor GetExpectedTestData*() methods in content capture.
hyowon-igalia Dec 15, 2021
06939ce
Add strings for Track prices on Tabs opt out
Dec 15, 2021
e40fa0a
Fix flaky Linux TSAN unit tests for chrome password protection service.
Dec 15, 2021
1b75c44
Remove HttpProxyClientSocket mocking
davidben Dec 15, 2021
d08c9cc
Polish consented notification for Tailored Security
Dec 15, 2021
61330f8
[iOS] Fix TableViewDetailIconCell
Dec 15, 2021
1c01ade
Fix a use-after-move in MountPath()
Dec 15, 2021
611fe4b
[fuchsia] Add support for commandline args to "run_chrome".
Dec 15, 2021
1d951ee
[CWP] Extend CollectProcessTypes histogram collection
shantuo Dec 15, 2021
969f563
WebUI: Rename --google-*-refresh-* colors to just --google-* vars
Dec 15, 2021
71e9fea
[Cast2Class] Basic error handling
Dec 15, 2021
59edb30
Roll Skia from 68e240d9cdb3 to fde20db7cab7 (3 revisions)
Dec 15, 2021
d167b9a
Prerender: Break kEmbedderTriggeredAndCrossOriginRedirected down
Clqsin45 Dec 15, 2021
36bfcfa
Reland "[Zenith] Keep the dialog open when clicking on the device sel…
muyao-xu Dec 15, 2021
328ff9d
Roll Chrome Win32 PGO Profile
Dec 15, 2021
63305a8
Allow dynamic-modify-transform-without-baseval.html to timeout
zijiehe-google-com Dec 15, 2021
b73e172
FLEDGE: Add class that can batch requests.
Dec 15, 2021
f591619
Reland "Launch Lens image search on desktop at ToT."
Dec 15, 2021
d46541c
SVG foreignObject should not be treated as stacked in CullRectUpdater
wangxianzhu Dec 15, 2021
7bf6642
Fix memory leak in CupsPrintersManagerTest.
Dec 15, 2021
945f6da
Remove IOS Tab Grid Bulk Actions flag
michaeldo1 Dec 15, 2021
ebe7dd4
[ZPS] Adds support for prefetch requests to ZeroSuggestProvider
Dec 15, 2021
28f464e
ash: Crash fix for mic mute toggle in login screen
rogertinkoff Dec 15, 2021
c610e72
Shimless: update the finalization page.
Dec 15, 2021
7193af9
PlzDedicatedWorker: early return when the ancestor frame is closed
d0iasm Dec 15, 2021
731871b
Shimless: Restyle calibration component chips
Dec 15, 2021
84a7b92
Fire accessible MENU_POPUP_START when menu is created on the fly
joanmarie Dec 15, 2021
3bc8a83
Roll WebGPU CTS from 216e2ff413d3 to c843f8d63c8c (2 revisions)
Dec 15, 2021
94eac62
[realbox] Add chrome://flags entry for using Google G icon in realbox
Dec 15, 2021
d67bd4e
Reflect aura::Window's transient parent change in Widget::parent()
naeioi Dec 15, 2021
1fb9d00
desk_templates: Fix UAF when tabbing after deleting a template view.
Dec 15, 2021
77a814f
Fix intersection ratio with pixel snapping and a root
progers Dec 15, 2021
36cae9d
Roll Depot Tools from 2777fd9c6a0a to 9e5809e98f33 (2 revisions)
Dec 15, 2021
743810e
Fix unexpected passes typo
Dec 15, 2021
1686cdc
Extend subresource filter evaluation performance metrics
alexmturner Dec 15, 2021
f7a0fdb
Roll Dawn from f296710f64b6 to 5397f9f9d0fa (2 revisions)
Dec 15, 2021
707a8f6
Add CertificateTransparencyAndroid to field trial testing config
carlosjoan91 Dec 15, 2021
c11809b
Enable ForceSynchronousHTMLParsing by default
Dec 15, 2021
d319794
[GMNext] Move OmniboxTheme to chrome/browser/ui/theme and rename
fsinan Dec 15, 2021
129a689
[CrOS Bluetooth] Handle Bluetooth power state toggling during pairing.
Dec 15, 2021
bc7979a
File handling - add AppRegistrarObserver method for file handling change
Dec 15, 2021
9886b67
Reporting: fix proto misspellings.
Dec 15, 2021
b81db92
Skip two TabCallbackTest tests for Android-12 emulator
Dec 15, 2021
1140749
Increase notification update frequency to 350 ms
Dec 15, 2021
7c90150
Roll src/third_party/breakpad/breakpad/ 647aa17a7..3846f6d29 (3 commits)
ZequanWu Dec 15, 2021
c16dd47
Roll Skia from fde20db7cab7 to d337cf94a077 (2 revisions)
Dec 15, 2021
27a04d7
Roll Chrome Win64 PGO Profile
Dec 15, 2021
f0a23e5
Make ksadmin support --store flag.
gxbao Dec 15, 2021
0bd8f5d
[BRP] Switch to "previous slot" variant in M99
bartekn-chromium Dec 15, 2021
250f230
Roll Perfetto Trace Processor Win from 1357bd132733 to f9abf9948a18
Dec 15, 2021
5eaa614
Change namespace to ash for //ash/components/tether
duswnchl Dec 15, 2021
bc0008e
Fix font weight of assistant suggestion chip
Dec 15, 2021
364cb3a
Camera app: don't call into WebLaunchFilesHelper directly.
Dec 15, 2021
1fd0781
FS: Consolidate cdm_file_system_id and cdm_type into CdmType
a-sully Dec 15, 2021
6822810
Reland "Reland "Make deterministic bots check that toolchain.ninja is…
nico Dec 15, 2021
29e81e2
Roll DevTools Frontend from 5fec567a800a to 895afdf921d3 (1 revision)
Dec 15, 2021
df7bc91
Add generic IOSBrowsingHistoryDriverDelegate
michaeldo1 Dec 15, 2021
5b81988
Roll Chrome Mac PGO Profile
Dec 15, 2021
db55304
blink: expose time renderer generated content for fcp
Dec 15, 2021
318a391
Roll Chrome Linux PGO Profile
Dec 15, 2021
8d93bbf
Updating XTBs based on .GRDs from branch main
Dec 15, 2021
ee7b368
Roll src-internal from c258c1267440 to 41781a31dda1 (8 revisions)
Dec 15, 2021
6b7765d
Roll androidx from Cd5XvW44K... to 51KZuMRRe...
Dec 15, 2021
3f64b4d
headless,linux: migrate from breakpad to crashpad
Dec 15, 2021
eee38bb
MPArch: Replace DidFinishNavigation with PrimaryPageChanged in SoundC…
Gyuyoung Dec 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,15 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling Skia
# and whatever else without interference from each other.
'skia_revision': '68e240d9cdb3f09fc0c9de834aaef04aa3b3f579',
'skia_revision': 'd337cf94a077c9ddec8f1c7d99c04e2ed14cd553',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling V8
# and whatever else without interference from each other.
'v8_revision': 'b5bf62dafe52d10d65bfd2e378d658b5b3b04a5e',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling ANGLE
# and whatever else without interference from each other.
'angle_revision': 'fefd7ae66ad94d8fcb16ef9f5f7304c1b4b9fbf8',
'angle_revision': '36fcf80b1f2a99fdaa46d044994dfe96a08d7362',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling SwiftShader
# and whatever else without interference from each other.
Expand Down Expand Up @@ -314,7 +314,7 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling devtools-frontend
# and whatever else without interference from each other.
'devtools_frontend_revision': '5fec567a800a98035a5c7aa02eebf93d3690e484',
'devtools_frontend_revision': '895afdf921d39c15ec8b6c072e08d12961f797b1',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling libprotobuf-mutator
# and whatever else without interference from each other.
Expand Down Expand Up @@ -354,7 +354,7 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed
# and whatever else without interference from each other.
'dawn_revision': 'f296710f64b6625d204262c09463401def70cea6',
'dawn_revision': '5397f9f9d0fa2d4adb03553f60d3fc4d4db5936c',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed
# and whatever else without interference from each other.
Expand Down Expand Up @@ -799,7 +799,7 @@ deps = {
'packages': [
{
'package': 'chromium/third_party/androidx',
'version': 'Cd5XvW44KjLwajSIYoTsODMnpNKBR--BNLPfpIDKGeAC',
'version': '51KZuMRReilT3sNyF1-vaB_9ciuTsRJxv8kUH1eLbDgC',
},
],
'condition': 'checkout_android',
Expand Down Expand Up @@ -964,7 +964,7 @@ deps = {
},

'src/third_party/breakpad/breakpad':
Var('chromium_git') + '/breakpad/breakpad.git' + '@' + '647aa17a7aa8ec0b99ffd005908b8a4ab1995a30',
Var('chromium_git') + '/breakpad/breakpad.git' + '@' + '3846f6d297339c17663d7a797ba481b3411f13ad',

'src/third_party/byte_buddy': {
'packages': [
Expand Down Expand Up @@ -1038,7 +1038,7 @@ deps = {
},

'src/third_party/depot_tools':
Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '2777fd9c6a0ae1d00b9ea5de5fab0a5324e2dd5d',
Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '9e5809e98f33a5f9f9d3b69a5bd826ce8a7a5a81',

'src/third_party/devtools-frontend/src':
Var('chromium_git') + '/devtools/devtools-frontend' + '@' + Var('devtools_frontend_revision'),
Expand Down Expand Up @@ -1639,7 +1639,7 @@ deps = {
Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + 'b1f3776e4913637221733a4da09f3339e783b771',

'src/third_party/webgpu-cts/src':
Var('chromium_git') + '/external/github.com/gpuweb/cts.git' + '@' + '216e2ff413d3ed5e7695626bb55ae41575818352',
Var('chromium_git') + '/external/github.com/gpuweb/cts.git' + '@' + 'c843f8d63c8c17acfbb7d48e09059a581ba779b9',

'src/third_party/webrtc':
Var('webrtc_git') + '/src.git' + '@' + '63b97de330fe3d4775b9b4df8ad15c7593d58fc0',
Expand Down Expand Up @@ -1700,7 +1700,7 @@ deps = {
Var('chromium_git') + '/v8/v8.git' + '@' + Var('v8_revision'),

'src-internal': {
'url': 'https://chrome-internal.googlesource.com/chrome/src-internal.git@c258c12674403e7c685e3462d136b29560e6b4d8',
'url': 'https://chrome-internal.googlesource.com/chrome/src-internal.git@41781a31dda1a0a56f41d036cb5333fe84c40645',
'condition': 'checkout_src_internal',
},

Expand Down
1 change: 1 addition & 0 deletions ash/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ component("ash") {
"autotest_private_api_utils.cc",
"bluetooth_devices_observer.cc",
"bluetooth_devices_observer.h",
"bubble/bubble_constants.h",
"bubble/bubble_utils.cc",
"bubble/bubble_utils.h",
"bubble/simple_grid_layout.cc",
Expand Down
5 changes: 2 additions & 3 deletions ash/app_list/views/app_list_bubble_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
#include "ash/app_list/views/scrollable_apps_grid_view.h"
#include "ash/app_list/views/search_box_view.h"
#include "ash/app_list/views/search_result_page_dialog_controller.h"
#include "ash/bubble/bubble_constants.h"
#include "ash/keyboard/ui/keyboard_ui_controller.h"
#include "ash/public/cpp/app_list/app_list_config_provider.h"
#include "ash/public/cpp/metrics_util.h"
#include "ash/public/cpp/shelf_config.h"
#include "ash/public/cpp/shelf_types.h"
#include "ash/search_box/search_box_constants.h"
#include "ash/style/ash_color_provider.h"
#include "ash/system/tray/tray_constants.h"
#include "base/bind.h"
#include "base/check.h"
#include "base/check_op.h"
Expand Down Expand Up @@ -111,8 +111,7 @@ AppListBubbleView::AppListBubbleView(
// Set up rounded corners and background blur, similar to TrayBubbleView.
// Layer color is set in OnThemeChanged().
SetPaintToLayer(ui::LAYER_SOLID_COLOR);
layer()->SetRoundedCornerRadius(
gfx::RoundedCornersF{kUnifiedTrayCornerRadius});
layer()->SetRoundedCornerRadius(gfx::RoundedCornersF{kBubbleCornerRadius});
layer()->SetFillsBoundsOpaquely(false);
layer()->SetIsFastRoundedCorner(true);
layer()->SetBackgroundBlur(ColorProvider::kBackgroundBlurSigma);
Expand Down
6 changes: 4 additions & 2 deletions ash/assistant/ui/main_stage/suggestion_chip_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/font_list.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/button.h"
Expand Down Expand Up @@ -153,8 +154,9 @@ void SuggestionChipView::InitLayout(const AssistantSuggestion& suggestion) {
text_view_->SetID(kSuggestionChipViewLabel);
text_view_->SetAutoColorReadabilityEnabled(false);
text_view_->SetSubpixelRenderingEnabled(false);
text_view_->SetFontList(
assistant::ui::GetDefaultFontList().DeriveWithSizeDelta(1));
const gfx::FontList& font_list = assistant::ui::GetDefaultFontList();
text_view_->SetFontList(font_list.Derive(
/*size_delta=*/1, font_list.GetFontStyle(), gfx::Font::Weight::MEDIUM));
SetText(text);

if (!use_dark_light_mode_colors_) {
Expand Down
14 changes: 14 additions & 0 deletions ash/assistant/ui/main_stage/suggestion_chip_view_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,18 @@ TEST_F(SuggestionChipViewTest, DarkAndLightModeFlagOff) {
SkColorSetA(gfx::kGoogleGrey900, 0x14));
}

TEST_F(SuggestionChipViewTest, FontWeight) {
auto widget = CreateFramelessTestWidget();
auto* suggestion_chip_view =
widget->SetContentsView(std::make_unique<SuggestionChipView>(
/*delegate=*/nullptr,
CreateSuggestionWithIconUrl(
"googleassistant://resource?type=icon&name=assistant")));

views::Label* label = static_cast<views::Label*>(
suggestion_chip_view->GetViewByID(kSuggestionChipViewLabel));

EXPECT_EQ(label->font_list().GetFontWeight(), gfx::Font::Weight::MEDIUM);
}

} // namespace ash
20 changes: 20 additions & 0 deletions ash/bubble/bubble_constants.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_BUBBLE_BUBBLE_CONSTANTS_H_
#define ASH_BUBBLE_BUBBLE_CONSTANTS_H_

namespace ash {

// The corner radius of a bubble, like the system tray bubble or the
// productivity launcher bubble.
constexpr int kBubbleCornerRadius = 16;

// Padding used for bubbles that represent a menu of options, like the system
// tray bubble or the switch access menu.
constexpr int kBubbleMenuPadding = 8;

} // namespace ash

#endif // ASH_BUBBLE_BUBBLE_CONSTANTS_H_
5 changes: 2 additions & 3 deletions ash/components/disks/disk_mount_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,13 @@ class DiskMountManagerImpl : public DiskMountManager,
MountType type,
MountAccessMode access_mode,
MountPathCallback callback) override {
auto insert_result =
mount_callbacks_.insert({source_path, std::move(callback)});
if (!insert_result.second) {
if (mount_callbacks_.find(source_path) != mount_callbacks_.end()) {
std::move(callback).Run(
MOUNT_ERROR_PATH_ALREADY_MOUNTED,
MountPointInfo(source_path, "", type, MOUNT_CONDITION_NONE));
return;
}
mount_callbacks_.insert({source_path, std::move(callback)});
// Hidden and non-existent devices should not be mounted.
if (type == MOUNT_TYPE_DEVICE) {
DiskMap::const_iterator it = disks_.find(source_path);
Expand Down
77 changes: 77 additions & 0 deletions ash/components/disks/disk_mount_manager_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "testing/gtest/include/gtest/gtest.h"

using base::StringPrintf;
using testing::_;
using testing::Field;

namespace ash {
Expand Down Expand Up @@ -1097,6 +1098,82 @@ TEST_F(DiskMountManagerTest, MountPath_ReadOnlyDevice) {
EXPECT_TRUE(disks.find(kReadOnlyDeviceSourcePath)->second->is_read_only());
}

TEST_F(DiskMountManagerTest, MountPath_DoubleCall) {
DiskMountManager* manager = DiskMountManager::GetInstance();
const std::string kMountPath1 = "/media/foo";

base::MockCallback<DiskMountManager::MountPathCallback> mock_callback1;

manager->MountPath(
kDevice1SourcePath, "", "", {}, chromeos::MOUNT_TYPE_DEVICE,
chromeos::MOUNT_ACCESS_MODE_READ_WRITE, mock_callback1.Get());

{
// While the first mount is occurring, queue up a second mount for the same
// source. It should immediately fail.
base::MockCallback<DiskMountManager::MountPathCallback> mock_callback2;
EXPECT_CALL(mock_callback2,
Run(chromeos::MOUNT_ERROR_PATH_ALREADY_MOUNTED, _));

manager->MountPath(
kDevice1SourcePath, "", "", {}, chromeos::MOUNT_TYPE_DEVICE,
chromeos::MOUNT_ACCESS_MODE_READ_WRITE, mock_callback2.Get());
}

// Verify the first mount can complete as expected.
EXPECT_CALL(
mock_callback1,
Run(chromeos::MOUNT_ERROR_NONE,
Field(&DiskMountManager::MountPointInfo::mount_path, kMountPath1)));
fake_cros_disks_client_->NotifyMountCompleted(
chromeos::MOUNT_ERROR_NONE, kDevice1SourcePath,
chromeos::MOUNT_TYPE_DEVICE, kMountPath1);
}

TEST_F(DiskMountManagerTest, MountPath_CallbackCallsMount) {
DiskMountManager* manager = DiskMountManager::GetInstance();
const std::string kMountPath1 = "/media/foo";
const std::string kMountPath2 = "/media/bar";

base::MockCallback<DiskMountManager::MountPathCallback> mock_callback1;

// Try call MountPath() again in the complete callback of a MountPath() call.
EXPECT_CALL(
mock_callback1,
Run(chromeos::MOUNT_ERROR_NONE,
Field(&DiskMountManager::MountPointInfo::mount_path, kMountPath1)))
.WillOnce([=](chromeos::MountError error,
const DiskMountManager::MountPointInfo& mount_info) {
// Try remount the same path and verify it fails.
base::MockCallback<DiskMountManager::MountPathCallback> mock_callback2;
EXPECT_CALL(mock_callback2,
Run(chromeos::MOUNT_ERROR_PATH_ALREADY_MOUNTED, _));
manager->MountPath(
kDevice1SourcePath, "", "", {}, chromeos::MOUNT_TYPE_DEVICE,
chromeos::MOUNT_ACCESS_MODE_READ_WRITE, mock_callback2.Get());

// Try mount a different path and verify it succeeds.
base::MockCallback<DiskMountManager::MountPathCallback> mock_callback3;
EXPECT_CALL(mock_callback3,
Run(chromeos::MOUNT_ERROR_NONE,
Field(&DiskMountManager::MountPointInfo::mount_path,
kMountPath2)));
manager->MountPath(
kDevice2SourcePath, "", "", {}, chromeos::MOUNT_TYPE_DEVICE,
chromeos::MOUNT_ACCESS_MODE_READ_WRITE, mock_callback3.Get());
fake_cros_disks_client_->NotifyMountCompleted(
chromeos::MOUNT_ERROR_NONE, kDevice2SourcePath,
chromeos::MOUNT_TYPE_DEVICE, kMountPath2);
});

manager->MountPath(
kDevice1SourcePath, "", "", {}, chromeos::MOUNT_TYPE_DEVICE,
chromeos::MOUNT_ACCESS_MODE_READ_WRITE, mock_callback1.Get());
fake_cros_disks_client_->NotifyMountCompleted(
chromeos::MOUNT_ERROR_NONE, kDevice1SourcePath,
chromeos::MOUNT_TYPE_DEVICE, kMountPath1);
}

TEST_F(DiskMountManagerTest, RemountRemovableDrives) {
DiskMountManager* manager = DiskMountManager::GetInstance();
// Initially we have 2 mounted devices.
Expand Down
4 changes: 2 additions & 2 deletions ash/components/tether/active_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"

namespace chromeos {
namespace ash {

namespace tether {

Expand Down Expand Up @@ -261,4 +261,4 @@ void ActiveHost::SendActiveHostChangedUpdate(

} // namespace tether

} // namespace chromeos
} // namespace ash
4 changes: 2 additions & 2 deletions ash/components/tether/active_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class PrefRegistrySimple;
class PrefService;

namespace chromeos {
namespace ash {

namespace tether {

Expand Down Expand Up @@ -163,6 +163,6 @@ class ActiveHost {

} // namespace tether

} // namespace chromeos
} // namespace ash

#endif // ASH_COMPONENTS_TETHER_ACTIVE_HOST_H_
4 changes: 2 additions & 2 deletions ash/components/tether/active_host_network_state_updater.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "chromeos/components/multidevice/remote_device_ref.h"
#include "chromeos/network/network_state_handler.h"

namespace chromeos {
namespace ash {

namespace tether {

Expand Down Expand Up @@ -80,4 +80,4 @@ void ActiveHostNetworkStateUpdater::OnActiveHostChanged(

} // namespace tether

} // namespace chromeos
} // namespace ash
8 changes: 4 additions & 4 deletions ash/components/tether/active_host_network_state_updater.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

#include "ash/components/tether/active_host.h"
#include "base/memory/weak_ptr.h"
// TODO(https://crbug.com/1164001): move to forward declaration
#include "chromeos/network/network_state_handler.h"

namespace chromeos {

class NetworkStateHandler;
namespace ash {

namespace tether {

Expand Down Expand Up @@ -38,6 +38,6 @@ class ActiveHostNetworkStateUpdater final : public ActiveHost::Observer {

} // namespace tether

} // namespace chromeos
} // namespace ash

#endif // ASH_COMPONENTS_TETHER_ACTIVE_HOST_NETWORK_STATE_UPDATER_H_
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/cros_system_api/dbus/shill/dbus-constants.h"

namespace chromeos {
namespace ash {

namespace tether {

Expand Down Expand Up @@ -129,4 +129,4 @@ TEST_F(ActiveHostNetworkStateUpdaterTest, TestActiveHostUpdates) {

} // namespace tether

} // namespace chromeos
} // namespace ash
4 changes: 2 additions & 2 deletions ash/components/tether/active_host_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/abseil-cpp/absl/types/optional.h"

namespace chromeos {
namespace ash {

namespace tether {

Expand Down Expand Up @@ -219,4 +219,4 @@ TEST_F(ActiveHostTest, TestObserverCalls) {

} // namespace tether

} // namespace chromeos
} // namespace ash
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "base/callback_forward.h"

namespace chromeos {
namespace ash {

namespace tether {

Expand Down Expand Up @@ -45,6 +45,6 @@ class AsynchronousShutdownObjectContainer {

} // namespace tether

} // namespace chromeos
} // namespace ash

#endif // ASH_COMPONENTS_TETHER_ASYNCHRONOUS_SHUTDOWN_OBJECT_CONTAINER_H_
Loading