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

Side by Side Diff: chrome/browser/extensions/extension_disabled_ui.cc

Issue 196423023: Revert of Include sync.pb.h in sync_data.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/extensions/extension_disabled_ui.h" 5 #include "chrome/browser/extensions/extension_disabled_ui.h"
6 6
7 #include <bitset>
8 #include <string> 7 #include <string>
9 8
10 #include "base/bind.h" 9 #include "base/bind.h"
11 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
12 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
15 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
16 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
17 #include "chrome/app/chrome_command_ids.h" 16 #include "chrome/app/chrome_command_ids.h"
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 void ShowExtensionDisabledDialog(ExtensionService* service, 367 void ShowExtensionDisabledDialog(ExtensionService* service,
369 content::WebContents* web_contents, 368 content::WebContents* web_contents,
370 const Extension* extension) { 369 const Extension* extension) {
371 scoped_ptr<ExtensionInstallPrompt> install_ui( 370 scoped_ptr<ExtensionInstallPrompt> install_ui(
372 new ExtensionInstallPrompt(web_contents)); 371 new ExtensionInstallPrompt(web_contents));
373 // This object manages its own lifetime. 372 // This object manages its own lifetime.
374 new ExtensionDisabledDialogDelegate(service, install_ui.Pass(), extension); 373 new ExtensionDisabledDialogDelegate(service, install_ui.Pass(), extension);
375 } 374 }
376 375
377 } // namespace extensions 376 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698