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

Side by Side Diff: chrome/browser/enumerate_modules_model_win.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_ENUMERATE_MODULES_MODEL_WIN_H_ 5 #ifndef CHROME_BROWSER_ENUMERATE_MODULES_MODEL_WIN_H_
6 #define CHROME_BROWSER_ENUMERATE_MODULES_MODEL_WIN_H_ 6 #define CHROME_BROWSER_ENUMERATE_MODULES_MODEL_WIN_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 void ScanNow(); 303 void ScanNow();
304 304
305 // Gets the whole module list as a ListValue. 305 // Gets the whole module list as a ListValue.
306 base::ListValue* GetModuleList() const; 306 base::ListValue* GetModuleList() const;
307 307
308 // Gets the Help Center URL for the first *notable* conflict module that we've 308 // Gets the Help Center URL for the first *notable* conflict module that we've
309 // elected to notify the user about. 309 // elected to notify the user about.
310 GURL GetFirstNotableConflict(); 310 GURL GetFirstNotableConflict();
311 311
312 private: 312 private:
313 friend struct DefaultSingletonTraits<EnumerateModulesModel>; 313 friend struct base::DefaultSingletonTraits<EnumerateModulesModel>;
314 friend class ModuleEnumerator; 314 friend class ModuleEnumerator;
315 315
316 EnumerateModulesModel(); 316 EnumerateModulesModel();
317 virtual ~EnumerateModulesModel(); 317 virtual ~EnumerateModulesModel();
318 318
319 // Called on the UI thread when the helper class is done scanning. 319 // Called on the UI thread when the helper class is done scanning.
320 void DoneScanning(); 320 void DoneScanning();
321 321
322 // Constructs a Help Center article URL for help with a particular module. 322 // Constructs a Help Center article URL for help with a particular module.
323 // The module must have the SEE_LINK attribute for |recommended_action| set, 323 // The module must have the SEE_LINK attribute for |recommended_action| set,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 int modules_to_notify_about_; 356 int modules_to_notify_about_;
357 357
358 // The number of suspected bad modules (not including confirmed bad ones) 358 // The number of suspected bad modules (not including confirmed bad ones)
359 // found during last scan. 359 // found during last scan.
360 int suspected_bad_modules_detected_; 360 int suspected_bad_modules_detected_;
361 361
362 DISALLOW_COPY_AND_ASSIGN(EnumerateModulesModel); 362 DISALLOW_COPY_AND_ASSIGN(EnumerateModulesModel);
363 }; 363 };
364 364
365 #endif // CHROME_BROWSER_ENUMERATE_MODULES_MODEL_WIN_H_ 365 #endif // CHROME_BROWSER_ENUMERATE_MODULES_MODEL_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc ('k') | chrome/browser/enumerate_modules_model_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698