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

Side by Side Diff: content/public/browser/desktop_media_id.cc

Issue 1817903002: Make more of content pass "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/child/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/public/browser/desktop_media_id.h" 5 #include "content/public/browser/desktop_media_id.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/id_map.h" 11 #include "base/id_map.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 17
18 #if defined(USE_AURA) 18 #if defined(USE_AURA)
19 #include "ui/aura/window.h" 19 #include "ui/aura/window.h" // nogncheck
20 #include "ui/aura/window_observer.h" 20 #include "ui/aura/window_observer.h" // nogncheck
21 #endif // defined(USE_AURA) 21 #endif // defined(USE_AURA)
22 22
23 namespace { 23 namespace {
24 24
25 #if defined(USE_AURA) 25 #if defined(USE_AURA)
26 26
27 class AuraWindowRegistry : public aura::WindowObserver { 27 class AuraWindowRegistry : public aura::WindowObserver {
28 public: 28 public:
29 static AuraWindowRegistry* GetInstance() { 29 static AuraWindowRegistry* GetInstance() {
30 return base::Singleton<AuraWindowRegistry>::get(); 30 return base::Singleton<AuraWindowRegistry>::get();
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 190
191 #if defined(USE_AURA) 191 #if defined(USE_AURA)
192 prefix.append(":"); 192 prefix.append(":");
193 prefix.append(base::Int64ToString(aura_id)); 193 prefix.append(base::Int64ToString(aura_id));
194 #endif // defined(USE_AURA) 194 #endif // defined(USE_AURA)
195 195
196 return prefix; 196 return prefix;
197 } 197 }
198 198
199 } // namespace content 199 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698